body.login-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 420px;
    width: 100%;
    animation: siramatikSlideUp 0.5s ease-out;
}

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

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-header p {
    font-size: 14px;
    opacity: 0.9;
}

.login-body {
    padding: 40px 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
    background: white;
    color: #2c3e50;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

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

.btn-login-success {
    background: #27ae60;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.35);
}

.btn-login-muted {
    background: #95a5a6;
    margin-top: 8px;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.25);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 13px;
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    display: none;
    line-height: 1.35;
}

.loading {
    display: none;
    text-align: center;
    margin-top: 18px;
}

.loading-text {
    margin-top: 10px;
    color: #7f8c8d;
    font-size: 14px;
}

.public-links {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #e0e0e0;
}

.public-links p {
    text-align: center;
    color: #7f8c8d;
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 600;
}

.public-buttons {
    display: flex;
    gap: 10px;
}

.btn-public {
    flex: 1;
    padding: 12px;
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-public:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

.hidden {
    display: none !important;
}

.login-step {
    padding: 0;
    margin-top: 16px;
}

.twofa-title {
    margin-bottom: 16px;
    color: #2c3e50;
    font-weight: 700;
    font-size: 14px;
}

.twofa-desc {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 12px;
}

.twofa-hint {
    font-size: 12px;
    color: #95a5a6;
    margin-bottom: 12px;
    line-height: 1.35;
}

.twofa-send-wrap {
    margin-bottom: 12px;
}

.twofa-sent-msg {
    display: none;
    margin-left: 8px;
    color: #27ae60;
    font-size: 13px;
    vertical-align: middle;
}

.connection-badge-hidden {
    display: none;
}

