/* Premium Fashion Registration Form Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Wrapper */
.registration-page-wrapper {
    min-height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.registration-page-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%),
                radial-gradient(circle at 80% 80%, rgba(255,105,180,0.15) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Container */
.whatsappotp-form-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    max-width: 600px;
    width: 100%;
    padding: 50px 45px;
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5),
                0 0 100px rgba(255, 215, 0, 0.1);
}

/* Form Header */
.whatsappotp-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.form-logo .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #000;
}

.whatsappotp-form-header h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.whatsappotp-form-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Labels */
.form-group label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    width: 18px;
    height: 18px;
    z-index: 1;
}

/* Input Fields */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 15px 20px 15px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 14px;
    color: #fff;
    transition: all 0.4s ease;
    outline: none;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 15px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: #FFD700;
}

.password-toggle .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

/* Form Section */
.form-section {
    margin: 35px 0;
}

.form-section h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Contact Method Selector */
.contact-method-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-method-option {
    position: relative;
    cursor: pointer;
}

.contact-method-option input[type="radio"] {
    display: none;
}

.method-card {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-method-option:hover .method-card::before {
    left: 100%;
}

.contact-method-option:hover .method-card {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-method-option input[type="radio"]:checked + .method-card {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.method-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-method-option input[type="radio"]:checked + .method-card .method-icon {
    background: #FFD700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.contact-method-option input[type="radio"]:checked + .method-card .method-icon .dashicons {
    color: #000;
}

.method-info {
    flex: 1;
}

.method-info strong {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.method-info span {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.contact-method-option input[type="radio"]:checked + .method-card .method-info strong {
    color: #FFD700;
}

/* Phone Input Container */
.phone-input-container {
    display: flex;
    gap: 10px;
}

.country-code-selector {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: all 0.4s ease;
    min-width: 140px;
}

.country-code-selector:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.country-code-selector option {
    background: #1a1a1a;
    color: #fff;
}

.phone-input-container input[type="tel"] {
    flex: 1;
    padding-left: 20px !important;
}

/* Buttons */
.btn {
    padding: 18px 35px;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.btn-success {
    width: 100%;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 14px;
}

.form-actions {
    margin-top: 30px;
}

/* OTP Verification Section */
.otp-verification-section {
    text-align: center;
}

.otp-header {
    margin-bottom: 40px;
}

.otp-header .dashicons {
    width: 60px;
    height: 60px;
    font-size: 60px;
    color: #FFD700;
    margin-bottom: 20px;
}

.otp-header h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.otp-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 1px;
}

/* OTP Input */
.otp-input-group {
    margin: 30px 0;
}

.otp-input-wrapper {
    position: relative;
}

.otp-input-wrapper input[type="text"] {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 24px;
    color: transparent;
    text-align: center;
    letter-spacing: 20px;
    outline: none;
    caret-color: #FFD700;
}

.otp-input-wrapper input[type="text"]:focus {
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.otp-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    pointer-events: none;
}

.otp-display span {
    width: 45px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #FFD700;
    font-weight: 500;
}

/* Messages */
.whatsappotp-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 1px;
    display: none;
}

.whatsappotp-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4CAF50;
    display: block;
}

.whatsappotp-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .whatsappotp-form-container {
        padding: 40px 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .whatsappotp-form-header h2 {
        font-size: 24px;
        letter-spacing: 3px;
    }

    .phone-input-container {
        flex-direction: column;
    }

    .country-code-selector {
        min-width: 100%;
    }

    .otp-display span {
        width: 35px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .registration-page-wrapper {
        padding: 20px 15px;
    }

    .whatsappotp-form-container {
        padding: 30px 20px;
    }

    .btn {
        padding: 16px 30px;
        font-size: 12px;
    }

    .otp-display {
        gap: 5px;
    }

    .otp-display span {
        width: 30px;
        height: 40px;
        font-size: 18px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsappotp-form-step {
    animation: fadeIn 0.5s ease-out;
}

/* Loading State */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}