/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 420px;
}

.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 107, 63, 0.15);
    text-align: center;
}

.form-container h2 {
    margin-bottom: 1.5rem;
    color: #003d2e;
    font-weight: 700;
    font-size: 1.75rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e1e5eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafbff;
}

.form-group input:focus {
    outline: none;
    border-color: #006b3ff2;
    box-shadow: 0 0 0 3px rgba(0, 107, 63, 0.2);
    background-color: #ffffff;
}

/* Button */
.btn {
    width: 100%;
    padding: 0.9rem;
    background: #006b3ff2;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 107, 63, 0.3);
}

.btn:hover {
    background: #005a34;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 107, 63, 0.4);
}

.btn:active {
    transform: translateY(0);
}

/* Alerts */
.alert {
    padding: 0.85rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-weight: 500;
    text-align: left;
}

.alert.error {
    background: #feebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.alert.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* Login / Register Link */
.login-link {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #555;
}

.login-link a {
    color: #006b3ff2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.login-link a:hover {
    color: #004c2b;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .form-container {
        padding: 1.8rem;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }
}