body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a1f44 0%, #1e3c72 100%);
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.background-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: var(--login-bg, url('png/login.png'));
    background-size: cover;
    background-position: center;
}

.login-container {
    text-align: center;
    width: 100%;
    max-width: 1000px;
}

.system-title {
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.system-title h1 {
    font-size: 32px;
    margin: 0;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
}

.system-title h2 {
    font-size: 16px;
    margin: 10px 0 0;
    font-weight: normal;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-box {
    background: rgba(10, 30, 60, 0.7);
    border: 1px solid rgba(0, 160, 255, 0.5);
    border-radius: 10px;
    padding: 30px 50px;
    box-shadow: 0 0 20px rgba(0, 100, 200, 0.3);
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

/* Decorative corner lines similar to screenshot */
.login-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 20px;
    height: 20px;
    border-top: 2px solid #00aaff;
    border-left: 2px solid #00aaff;
    border-radius: 4px 0 0 0;
}

.login-box::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #00aaff;
    border-right: 2px solid #00aaff;
    border-radius: 0 0 4px 0;
}

.login-header {
    font-size: 20px;
    margin-bottom: 25px;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    padding: 5px 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
}

.input-group .icon {
    color: #2a3b55;
    margin-right: 12px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
}

.input-group .icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.input-group input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
    outline: none;
    color: #333;
}

.input-group:focus-within {
    border-color: rgba(0, 123, 255, 0.55);
    box-shadow: 0 10px 24px rgba(0, 123, 255, 0.18);
}

.captcha-group {
    background: transparent;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.captcha-group input {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    width: 60%;
    padding: 10px;
    margin-right: 10px;
}

.captcha-display {
    background: #e0e0e0;
    color: #333;
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border-radius: 4px;
    letter-spacing: 3px;
    font-family: monospace;
    font-size: 18px;
    cursor: pointer;
    background-image: linear-gradient(45deg, #ddd 25%, #eee 25%, #eee 50%, #ddd 50%, #ddd 75%, #eee 75%, #eee 100%);
    background-size: 10px 10px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #007bff, #0056b3);
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.login-btn:hover {
    background: linear-gradient(to right, #0056b3, #004494);
}
