* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #090b10;
    color: #e1e4e8;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 380px;
    padding: 24px;
}

.login-card {
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.95), rgba(22, 27, 34, 0.9));
    border: 1px solid rgba(48, 54, 61, 0.5);
    border-radius: 16px;
    padding: 40px 32px;
    backdrop-filter: blur(20px);
}

.login-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.login-icon svg {
    width: 48px;
    height: 48px;
}

.login-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #f0f6fc;
    margin-bottom: 8px;
}

.login-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: #484f58;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #8b949e;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid rgba(48, 54, 61, 0.6);
    border-radius: 10px;
    color: #e1e4e8;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    border-color: #58a6ff;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
}

.form-group input::placeholder {
    color: #30363d;
}

.login-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #238636, #2ea043);
    border: 1px solid rgba(35, 134, 54, 0.4);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.login-btn:hover {
    background: linear-gradient(135deg, #2ea043, #3fb950);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 160, 67, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-msg {
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(248, 81, 73, 0.1);
    border: 1px solid rgba(248, 81, 73, 0.3);
    border-radius: 8px;
    color: #f85149;
    font-size: 0.82rem;
    text-align: center;
    display: none;
}

.error-msg.visible {
    display: block;
}

.error-msg.rate-limited {
    background: rgba(240, 136, 62, 0.1);
    border-color: rgba(240, 136, 62, 0.3);
    color: #f0883e;
}
