/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Background */
body {
    height: 100vh;
    background: linear-gradient(
            rgba(0, 0, 60, 0.6),
            rgba(0, 0, 100, 0.7)
    ),
    url('https://images.unsplash.com/photo-1496307042754-b4aa456c4a2d') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glass container */
.login-container {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 15px;
    width: 340px;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Title */
.login-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #cce0ff;
}

/* Form spacing */
.form-group {
    margin-bottom: 18px;
}

/* Labels */
.form-group label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

/* Inputs + Select */
.form-group input,
.select-field {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    color: #002135;
}

/* Dropdown specific */
.select-field {
    cursor: pointer;
}

/* Placeholder */
.form-group input::placeholder {
    color: #ddd;
}

/* Button */
.btn {
    width: 100%;
    padding: 12px;
    background: #1e90ff;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #0b6edc;
}

/* Footer */
.footer-text {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #cce0ff;
}

/* Error */
.footer-text.error {
    color: #ff6b6b;
    font-weight: bold;
}

/* Links */
.signup-link {
    color: #66b2ff;
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
}

.signup-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Toast container */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #f8f6f6;
    color: #66b2ff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    font-size: 14px;
    z-index: 999;
}

/* Show animation */
.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: #16a34a
}

.toast.error {
    background: #dc2626
}