html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #f1f1f1;
}

/* Login */
.login-page {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.login-card {
    width: 400px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 20px 45px rgba(0,0,0,.25);
    animation: fadeUp 0.6s ease;
}

@@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    color: #2d3748;
}

.field {
    margin-bottom: 22px;
    position: relative;
}

    .field input {
        width: 100%;
        padding: 14px 44px 14px 14px;
        border-radius: 10px;
        border: 1px solid #ddd;
        font-size: 15px;
        transition: all .2s;
    }

        .field input:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102,126,234,.2);
            outline: none;
        }

    .field i {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #777;
        cursor: pointer;
    }

.actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 22px;
}

    .actions a {
        font-size: 14px;
        color: #667eea;
        text-decoration: none;
        font-weight: 500;
    }

        .actions a:hover {
            text-decoration: underline;
        }

.login-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all .2s;
}

    .login-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 25px rgba(102,126,234,.4);
    }

.errors {
    margin-top: 18px;
    padding: 10px 14px;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
}

    .errors p {
        margin: 4px 0;
        font-size: 14px;
        color: #c53030;
    }

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #718096;
}
.toggle-password {
    cursor: pointer;
    color: #6c757d;
    transition: color .2s ease;
}

    .toggle-password:hover {
        color: #0d6efd;
    }