/* Common form styles */
:root {
  --component-bg-1: #083345;
  --component-bg-2: #093A4E;
}

.form-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    animation: fadeIn 0.5s ease-out;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.form-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 32px;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: normal;
    letter-spacing: 0.3px;
}

input {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.form-btn {
    width: 100%;
    padding: 14px;
    background: #7BFF00; /* accent colour 1 */
    color: #072E3E; /* new dark bg 1 */
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.form-btn:hover {
    background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.form-btn:active {
    transform: translateY(0);
}

.error-message {
    color: #ff6b6b;
    margin-bottom: 16px;
    min-height: 20px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

.form-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
}

.form-footer a {
    color: #7BFF00;
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

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