* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dukaan-blue: #146EB4;
    --dukaan-blue-dark: #0D5A94;
    --button-blue: #7DB8E0;
    --text-dark: #333333;
    --text-gray: #666666;
    --border-color: #DDDDDD;
    --white: #FFFFFF;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1976D2 0%, #2196F3 50%, #146EB4 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.logo span {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
}

h1 {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus {
    border-color: var(--dukaan-blue);
    box-shadow: 0 0 0 2px rgba(20, 110, 180, 0.1);
}

.form-group input::placeholder {
    color: #999999;
    font-size: 13px;
}

.btn-login {
    width: 100%;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: var(--white);
    background: var(--button-blue);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.btn-login:hover {
    background: #6BA5CC;
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.spinner-circle {
    stroke-dasharray: 50;
    stroke-dashoffset: 25;
}

.divider {
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
    margin: 20px 0;
}

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-google:hover {
    background: #F5F5F5;
    border-color: #CCCCCC;
}

.btn-google svg {
    flex-shrink: 0;
}

.signup-text {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--white);
}

.signup-text a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 500;
}

.signup-text a:hover {
    text-decoration: none;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 32px 24px;
    }

    .login-container {
        padding: 16px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: fadeIn 0.4s ease-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

.error-shake {
    animation: shake 0.4s ease;
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid var(--dukaan-blue);
    outline-offset: 2px;
}