html, body, #app {
    height: 100%;
    margin: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#app {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #e3f2fd 100%);
    position: relative;
    overflow: hidden;
}

#app::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(100, 181, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 181, 246, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 149, 237, 0.2) 0%, rgba(100, 149, 237, 0) 70%);
    animation: pulse 8s infinite ease-in-out;
}
.tech-circle-1 { width: 300px; height: 300px; top: -150px; right: -150px; animation-delay: 0s; }
.tech-circle-2 { width: 200px; height: 200px; bottom: -100px; left: -100px; animation-delay: 2s; }
.tech-circle-3 { width: 150px; height: 150px; top: 50%; left: 10%; transform: translateY(-50%); animation-delay: 4s; }

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(100, 181, 246, 0.5), transparent);
    height: 1px;
    animation: lineMove 10s linear infinite;
}
.tech-line-1 { width: 100%; top: 20%; animation-delay: 0s; }
.tech-line-2 { width: 100%; top: 40%; animation-delay: 2s; }
.tech-line-3 { width: 100%; top: 60%; animation-delay: 4s; }
.tech-line-4 { width: 100%; top: 80%; animation-delay: 6s; }

@keyframes lineMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.tech-center {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(100, 181, 246, 0.3);
    animation: rotate 30s linear infinite;
    z-index: 0;
}
.tech-center::before {
    content: '';
    position: absolute;
    width: 800px; height: 800px;
    border-radius: 50%;
    border: 1px solid rgba(100, 181, 246, 0.2);
    top: -100px; left: -100px;
    animation: rotate 40s linear infinite reverse;
}
.tech-center::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(100, 181, 246, 0.4);
    top: 100px; left: 100px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tech-dot {
    position: absolute;
    width: 4px; height: 4px;
    background: #64b5f6;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px #64b5f6;
    animation: dotPulse 3s infinite ease-in-out;
}
.tech-dot-1 { top: 30%; left: 20%; animation-delay: 0s; }
.tech-dot-2 { top: 70%; right: 20%; animation-delay: 1s; }
.tech-dot-3 { bottom: 30%; left: 30%; animation-delay: 2s; }
.tech-dot-4 { top: 20%; right: 30%; animation-delay: 1.5s; }

@keyframes dotPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

.login-container {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 30px rgba(230, 0, 18, 0.1);
    padding: 40px;
    animation: slideIn 0.5s ease-out;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 0, 18, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(230, 0, 18, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 6s linear infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

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

.login-header {
    text-align: center;
    margin-bottom: 30px;
}
.login-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.login-header p {
    font-size: 14px;
    color: #666;
}

.el-form { margin-bottom: 20px; }
.el-form-item { margin-bottom: 20px; }
.el-form-item:last-child { padding-top: 20px; }
.el-form-item__label { font-size: 14px; color: #555; font-weight: 500; }

.el-input {
    border-radius: 8px;
    height: 48px;
    position: relative;
}
.el-input::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    background: linear-gradient(45deg, #e60012, #ff6b7a, #e60012);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.el-input__inner {
    font-size: 16px;
    height: 48px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
}
.el-input__inner:focus {
    border-color: #e60012;
    box-shadow: 0 0 0 2px rgba(230, 0, 18, 0.2), 0 0 15px rgba(230, 0, 18, 0.3);
}
.el-input:focus-within::before { opacity: 1; }

.el-input-group__append {
    border-radius: 0 8px 8px 0;
}
.el-input-group__append .el-button {
    width: auto;
    height: 48px;
    border-radius: 0 8px 8px 0;
}

.el-button {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.el-button--primary {
    background: linear-gradient(135deg, #f53f3f 0%, #d4380d 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(245, 63, 63, 0.3);
}
.el-button--primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #e83e3e 0%, #c53030 100%);
    box-shadow: 0 6px 20px rgba(232, 62, 62, 0.4), 0 0 20px rgba(232, 62, 62, 0.2);
}
.el-button--primary:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #f53f3f 0%, #d4380d 100%);
    box-shadow: 0 4px 15px rgba(245, 63, 63, 0.3);
}
.el-button--primary:focus {
    background: linear-gradient(135deg, #f53f3f 0%, #d4380d 100%);
    box-shadow: 0 4px 15px rgba(245, 63, 63, 0.3), 0 0 0 2px rgba(245, 63, 63, 0.2);
}
.el-button--primary.is-loading {
    background: linear-gradient(135deg, #f53f3f 0%, #d4380d 100%);
}
.el-button--primary::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: buttonShine 3s ease-in-out infinite;
}

@keyframes buttonShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@media (max-width: 768px) {
    .login-container { padding: 30px 25px; }
    .login-header h2 { font-size: 24px; }
    .el-form-item { margin-bottom: 20px; }
    .el-input, .el-button { height: 44px; }
}

.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.loading-overlay.show { opacity: 1; visibility: visible; }
.loading-spinner {
    width: 50px; height: 50px;
    border: 3px solid rgba(100, 181, 246, 0.3);
    border-radius: 50%;
    border-top-color: #42a5f5;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.login-container .el-form--label-top .el-form-item__label {
    padding: 0px;
}