/* Register Page Styles */
body {
    background: linear-gradient(135deg, #18554C 0%, #247f71 50%, #2a8f7f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.registration-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 40px;
    width: 90%;
    max-width: 500px;
    margin: 20px;
    backdrop-filter: blur(10px);
}

.registration-box {
    text-align: center;
}

h2 {
    color: #18554C;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    background: none;
    padding: 0;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.form-group-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.input-group {
    flex: 1 1 calc(50% - 10px);
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

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

.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
    font-weight: 600;
    max-width: 100%;
    box-sizing: border-box;
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
    border-color: #18554C;
    box-shadow: 0 0 0 3px rgba(24, 85, 76, 0.1);
}

.input-group input::placeholder, .input-group textarea::placeholder {
    font-weight: 600;
    opacity: 0.7;
}

.input-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

.input-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn, .btn_cancel {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.btn {
    background: #18554C;
    color: white;
}

.btn:hover {
    background: #247f71;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 85, 76, 0.3);
}

.btn_cancel {
    background: #e1e1e1;
    color: #666;
}

.btn_cancel:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
}

#response-message {
    color: #28a745;
    font-size: 1rem;
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
}

#error-message {
    color: #dc3545;
    font-size: 1rem;
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.loading-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #18554C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: #18554C;
    font-size: 1.2rem;
    font-weight: 600;
}

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

/* Disable form elements during loading */
.loading .registration-container {
    pointer-events: none;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 576px) {
    .registration-container {
        padding: 30px 20px;
        margin: 15px;
    }

    h2 {
        font-size: 2rem;
    }

    .form-group {
        gap: 10px;
        margin-bottom: 15px;
    }

    .form-group-btn {
        gap: 10px;
        margin-bottom: 15px;
    }

    .input-group {
        flex: 1 1 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .input-group label {
        font-size: 1rem;
    }

    .input-group input, .input-group select, .input-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .btn, .btn_cancel {
        padding: 10px;
        font-size: 1rem;
        max-width: 300px;
        margin: 0 auto;
    }
}

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

.registration-container {
    animation: fadeIn 0.6s ease-out;
} 