/**
 * KYC Waitlist Frontend Styles
 * Product page waitlist form
 */

/* Toggle Button */
.kyc-waitlist-toggle-btn {
    background: #2d5016;
    color: #ffffff!important;
    border: none;
    border-radius: 0;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kyc-waitlist-toggle-btn:hover {
    background: #1f3a0f;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

.kyc-waitlist-toggle-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.kyc-waitlist-wrapper {
    margin: 15px 0;
    padding: 0;
}

/* Form Container */
.kyc-waitlist-form-container {
    background-color: #fff7e3;
    border: 2px solid #d4a574;
    border-radius: 0;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Header */
.kyc-waitlist-header {
    text-align: center;
    margin-bottom: 20px;
}

.kyc-waitlist-header h3 {
    margin: 0 0 10px 0;
    color: #8b6f47;
    font-size: 22px;
    font-weight: 600;
}

.kyc-waitlist-header p {
    margin: 0;
    color: #5f6368;
    font-size: 15px;
}

/* Form */
.kyc-waitlist-form {
    max-width: 500px;
    margin: 0 auto;
}

.kyc-waitlist-field {
    margin-bottom: 18px;
}

.kyc-waitlist-field label {
    display: block;
    color: #5f6368;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.kyc-waitlist-field .required {
    color: #ff6b6b;
}

.kyc-waitlist-field input[type="email"],
.kyc-waitlist-field input[type="text"],
.kyc-waitlist-field textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #d4a574;
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.kyc-waitlist-field input[type="email"]:focus,
.kyc-waitlist-field input[type="text"]:focus,
.kyc-waitlist-field textarea:focus {
    outline: none;
    border-color: #8b6f47;
}

.kyc-waitlist-field textarea {
    resize: vertical;
    min-height: 80px;
}

.kyc-waitlist-char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.kyc-waitlist-privacy {
    margin-top: 15px;
}

.kyc-waitlist-privacy label {
    display: flex;
    align-items: flex-start;
    font-weight: normal;
    gap: 8px;
    cursor: pointer;
}

.kyc-waitlist-privacy input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

/* Submit Button */
.kyc-waitlist-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #d4a574 0%, #8b6f47 100%);
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.kyc-waitlist-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.4);
}

.kyc-waitlist-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.kyc-waitlist-messages {
    margin-top: 15px;
}

.kyc-waitlist-error {
    background-color: #fee2e2;
    border-left: 4px solid #ff6b6b;
    color: #991b1b;
    padding: 12px 15px;
    border-radius: 0;
    font-size: 14px;
}

.kyc-waitlist-success {
    background-color: #d1fae5;
    border-left: 4px solid #10b981;
    color: #065f46;
    padding: 12px 15px;
    border-radius: 0;
    font-size: 14px;
}

/* Success State */
.kyc-waitlist-success {
    text-align: center;
    padding: 30px 20px;
}

.kyc-waitlist-success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.kyc-waitlist-success h3 {
    margin: 0 0 15px 0;
    color: #8b6f47;
    font-size: 20px;
    font-weight: 600;
}

.kyc-waitlist-success p {
    margin: 0 0 10px 0;
    color: #5f6368;
    font-size: 15px;
}

.kyc-waitlist-position {
    margin-top: 15px;
    padding: 12px;
    background-color: #fff;
    border-radius: 0;
    font-size: 16px;
}

.kyc-waitlist-position strong {
    color: #0dccea;
    font-size: 18px;
}

/* Already Waiting State */
.kyc-waitlist-already-waiting {
    text-align: center;
    padding: 30px 20px;
}

.kyc-waitlist-already-waiting h3 {
    margin: 15px 0 10px 0;
    color: #8b6f47;
    font-size: 20px;
}

.kyc-waitlist-already-waiting p {
    margin: 0 0 15px 0;
    color: #5f6368;
    font-size: 15px;
}

.kyc-waitlist-cancel-btn {
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kyc-waitlist-cancel-btn:hover {
    background: #991b1b;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

.kyc-waitlist-cancel-btn:active {
    transform: scale(0.98);
}

.kyc-waitlist-cancel-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Waitlist Full State */
.kyc-waitlist-full {
    text-align: center;
    padding: 30px 20px;
    background-color: #fee2e2;
    border: 2px solid #ff6b6b;
}

.kyc-waitlist-full h3 {
    margin: 0 0 10px 0;
    color: #991b1b;
    font-size: 20px;
}

.kyc-waitlist-full p {
    margin: 0;
    color: #991b1b;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 600px) {
    .kyc-waitlist-form-container {
        padding: 20px 15px;
    }
    
    .kyc-waitlist-header h3 {
        font-size: 20px;
    }
    
    .kyc-waitlist-submit-btn {
        font-size: 15px;
        padding: 12px 20px;
    }
}
