/* ... (تمام کدهای قبلی که فرستادم اینجا باشند) ... */
.nicek-login-wrapper {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 15px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.nicek-login-wrapper.nicek-in-popup {
    border: none;
    box-shadow: none;
}
.nicek-logo-wrap img {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
}
.nicek-title {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}
.nicek-subtext {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}
.nicek-input-group {
    position: relative;
    margin-bottom: 15px;
}
.nicek-input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    direction: ltr;
    box-sizing: border-box;
    transition: all 0.3s;
}
.nicek-input:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}
.nicek-otp-box-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    direction: ltr;
    margin-bottom: 20px;
}
.nicek-otp-digit {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 0;
    padding: 0;
}
.nicek-otp-digit:focus {
    border-color: #007cba;
    outline: none;
    background-color: #f9fcff;
}
.nicek-btn {
    width: 100%;
    padding: 14px;
    background-color: #007cba;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.nicek-btn:hover {
    background-color: #006ba1;
    transform: translateY(-2px);
}
.nicek-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.nicek-msg-box {
    margin-top: 15px;
    font-size: 14px;
    padding: 10px;
    border-radius: 8px;
    display: none;
}
.nicek-error { color: #d32f2f; background: #ffebee; }
.nicek-success { color: #388e3c; background: #e8f5e9; }
.nicek-timer-box { font-size: 13px; color: #777; margin: 15px 0; }
.nicek-actions { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-top: 15px; }
.nicek-action-link { text-decoration: none; color: #007cba; transition: 0.3s; }
.nicek-action-link:hover { opacity: 0.8; }
.nicek-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}
.nicek-header-btn:hover { opacity: 0.9; }
.nicek-header-btn i { font-size: 16px; }

/* Back to Home Button in Form */
.nicek-back-home {
    display: block;
    margin-top: 15px;
    font-size: 13px;
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}
.nicek-back-home:hover { color: #333; }

/* Modal Styles */
.nicek-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.nicek-modal-content {
    position: relative;
    width: 100%;
    max-width: 450px;
    animation: nicekFadeIn 0.3s ease;
}
.nicek-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10;
}
@keyframes nicekFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .nicek-login-wrapper:not(.nicek-in-popup) { padding: 20px; box-shadow: none; border: none; }
    .nicek-header-btn span { display: none; }
    .nicek-header-btn i { margin: 0 !important; font-size: 20px; }
}

/* Checkout Verify Styles */
.nicek-checkout-btn {
    background-color: #007cba !important;
    color: #fff !important;
    padding: 8px 15px !important;
    font-size: 13px !important;
    border-radius: 4px !important;
}
#nicek-checkout-otp {
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 4px;
}