/* Psychic Form Modal Styles */

/* Modal Styles */
.psychic-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.psychic-modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border: none;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInFromBottom 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.psychic-close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    margin-top: -10px;
    margin-right: -10px;
}

.psychic-close:hover,
.psychic-close:focus {
    color: #667eea;
    text-decoration: none;
}

.psychic-modal-content h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Form Styles */
#psychic-form {
    margin-top: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.form-group .description {
    font-size: 14px;
    color: #666;
    margin: 5px 0 10px;
    font-style: italic;
}

/* Date of birth container */
.dob-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dob-container select {
    flex: 1;
    min-width: 140px;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
    appearance: menulist;
}

.dob-container select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.dob-container select:invalid {
    border-color: #e74c3c;
}

.dob-container select.filled {
    border-color: #27ae60;
}

/* All date dropdowns are now independent - no disabled states needed */

/* Input and textarea styles */
.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
    margin-bottom: 10px;
}

/* Submit button */
#psychic-form button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#psychic-form button[type="submit"]:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

#psychic-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .psychic-modal-content {
        margin: 2% auto;
        padding: 20px;
        width: 95%;
    }
    
    .dob-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .dob-container select {
        min-width: auto;
        width: 100%;
        font-size: 16px;
        padding: 15px;
    }
    
    .psychic-modal-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .psychic-modal-content {
        padding: 15px;
    }
    
    .form-group input[type="text"],
    .form-group textarea,
    .dob-container select {
        padding: 10px 12px;
        font-size: 14px;
    }
}
