* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff, #8e9eab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 30px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #aaa;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #7f7fd5;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(to right, #86a8e7, #7f7fd5);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    margin-top: 10px;
}

.btn-primary:hover {
    transform: scale(1.02);
    background: linear-gradient(to right, #91b1f0, #8a8ae0);
}

.alert {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert.error {
    background: rgba(255, 75, 75, 0.2);
    border: 1px solid rgba(255, 75, 75, 0.3);
    color: #ff4b4b;
}

.alert.success {
    background: rgba(75, 255, 75, 0.2);
    border: 1px solid rgba(75, 255, 75, 0.3);
    color: #4bff4b;
}

.qr-container {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.secret-code {
    font-family: monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.footer-links {
    margin-top: 25px;
    font-size: 0.8rem;
    color: #888;
}

.role-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.role-badge.sahip {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.role-badge.kullanıcı {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.company-info {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.company-info h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.stat-item label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 1rem;
    font-weight: 600;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.status-badge.aktif {
    background: rgba(75, 255, 75, 0.1);
    color: #4bff4b;
}

.status-badge.pasif {
    background: rgba(255, 75, 75, 0.1);
    color: #ff4b4b;
}

.iban-list label {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 8px;
    display: block;
}

.iban-list ul {
    list-style: none;
    font-size: 0.85rem;
    color: #ccc;
}

.iban-list li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(127, 127, 213, 0.5);
    border-radius: 10px;
    background: transparent;
    color: #7f7fd5;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background: rgba(127, 127, 213, 0.1);
    border-color: #7f7fd5;
}