/* ========== GLOBAL STYLES ========== */
* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    transition: 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: #c8cacd #ffffff;
}

a {
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
    text-decoration-style:solid;
    text-decoration-thickness: 2px;
    text-decoration-color: #ff4800;
}
/* ========== LOGIN PAGE LAYOUT ========== */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0d6efd, #00daff);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== LOGIN BOX ========== */
.login-container {
    width: 100%;
    max-width: 400px;
    background: #f4f6f6;
    padding: 30px 28px;
    border-radius: 10px;
    animation: fadeIn 0.6s ease-in-out;
    position: absolute;
    top: 25vh;
}

/* Title */
.login-container h2 {
    text-align: center;
    margin-bottom: 22px;
    color: #333;
    font-weight: 600;
}

/* Error Message */
.login-container .error {
    background: #ffe5e5;
    color: #c0392b;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

/* Inputs */
.login-container input {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.login-container input:focus {
    outline: none;
    border-color: #4ca1af;
    box-shadow: 0 0 0 2px rgba(76, 161, 175, 0.2);
}

/* Button */
.login-container button {
    width: 100%;
    padding: 12px;
    background: #0d6efd;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    border-radius: 8px;
    cursor: pointer;
}

.login-btn:hover {
    background-color: #ff4800;
}

/* ========== SCROLLBAR STYLES ========== */
.stats-grid,
.table-wrapper-for-show-item {
    scrollbar-width: thin;
    scrollbar-color: #0d6efd #ffffff;
}

.stats-grid::-webkit-scrollbar,
.table-wrapper-for-show-item::-webkit-scrollbar {
    height: 8px;
}

.stats-grid::-webkit-scrollbar-track,
.table-wrapper-for-show-item::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 100px;
}

.stats-grid::-webkit-scrollbar-thumb,
.table-wrapper-for-show-item::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 100px;
}

.stats-grid.rounded-tips::-webkit-scrollbar,
.table-wrapper-for-show-item.rounded-tips::-webkit-scrollbar {
    height: 6px;
}

.stats-grid.rounded-tips::-webkit-scrollbar-thumb,
.table-wrapper-for-show-item.rounded-tips::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 100px;
    min-height: 30px;
}

.stats-grid.gradient-tips::-webkit-scrollbar,
.table-wrapper-for-show-item.gradient-tips::-webkit-scrollbar {
    height: 8px;
}

.stats-grid.gradient-tips::-webkit-scrollbar-thumb,
.table-wrapper-for-show-item.gradient-tips::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #667eea, #f5576c);
    border-radius: 100px;
    border: 2px solid white;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 600px) {
    .login-container {
        width: 90%;
    }
}