/* Registration form styles */
.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);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #00bdb8;
}

#registration-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#registration-form input:focus {
    border-color: #00bdb8;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,189,184,0.2);
}

#registration-form button {
    width: 100%;
    background: #00bdb8;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#registration-form button:hover {
    background: #009591;
}

#form-message {
    display: none;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

#form-message.success {
    background-color: #e7f7f6;
    color: #00857f;
    border: 1px solid #b3e6e4;
}

#form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .modal-content {
        margin: 15% auto;
        padding: 20px;
    }
}
