* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/image/login/3.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-box {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    backdrop-filter: blur(10px);
}

.login-box img {
    max-width: 160px;
    height: auto;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input.is-invalid {
    border-color: #dc3545;
    background-color: #fff;
}

.btn {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    margin-top: 10px;
}

.btn-primary:hover:not(:disabled) {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:disabled {
    background-color: #ccc;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease-out;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.alert i {
    font-size: 20px;
    flex-shrink: 0;
    color: #dc2626;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-error-message {
    justify-content: center;
}

.copyright {
    position: fixed;
    bottom: 15px;
    right: 15px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.login-content {
    display: flex;
    flex-direction: column;
}

.login-content h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.login-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.login-info-text {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.4;
}

.justgo-logo {
    max-width: 120px;
    height: auto;
    display: block;
}

/* Mobile responsive styles */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }

    .login-box img {
        max-width: 120px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .copyright {
        bottom: 10px;
        right: 10px;
        font-size: 10px;
    }

    .login-content h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .login-info-text {
        font-size: 12px;
    }

    .justgo-logo {
        max-width: 100px;
    }

    .alert {
        font-size: 13px;
        padding: 12px 14px;
    }

    .alert i {
        font-size: 18px;
    }
}
