body {
    font-family: 'Inter', sans-serif;
    background-image: url('/assets//images/blue-cloud-bg.jpg');
    background-size: cover;
}

.main-wrapper {
    min-height: 80vh;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

    .card h4 {
        font-weight: 600;
    }

.btn {
    border-radius: 8px;
}

.upload-area {
    border: 2px dashed #d0d7e2;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: white;
    transition: 0.3s;
}

    .upload-area:hover {
        background: #f8fafc;
    }

.footer {
    background: #ffffff;
    padding: 15px;
    border-top: 1px solid #eee;
}

.table {
    vertical-align: middle;
}

    .table thead {
        background: #f1f3f7;
    }

.badge {
    padding: 7px 10px;
    font-weight: 500;
}

.auth-card {
    margin-top: 80px;
}


/* Default sidebar */
.sidebar {
    width: 250px;
    transition: all 0.3s ease;
}

    /* Hidden sidebar */
    .sidebar.hide {
        margin-left: -250px;
    }

/* Main area adjustment */
.main {
    transition: all 0.3s ease;
}

.sidebar.hide ~ .main {
    margin-left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

/* Hide close button on desktop */
.sidebar-close {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .sidebar-close {
        display: block;
    }
}

@media (max-width: 768px) {

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 1050;
    }
    /* Hide sidebar by default on mobile */
    .sidebar {
        margin-left: -250px;
    }
        /* Show when active */
        .sidebar.show {
            margin-left: 0;
        }
    /* Main full width on mobile */
    .main {
        margin-left: 0;
    }
}



@media (max-width:768px) {

    .auth-card {
        margin-top: 40px;
    }
}


.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    background: white;
    transition: 0.3s;
}

    .upload-area.dragging {
        background: #eff6ff;
        border-color: #2563eb;
    }

.card img {
    height: 120px;
    object-fit: cover;
}

.file-preview {
    animation: fadeIn .4s ease;
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-link-text.hide {
    display: none;
}

@media(max-width:768px) {

    .sidebar {
        position: fixed;
        height: 100%;
        z-index: 1000;
    }
}


.skeleton {
    height: 60px;
    background: linear-gradient(90deg,#eee,#f5f5f5,#eee);
    background-size: 200% 100%;
    animation: skeleton 1.2s infinite;
}

@keyframes skeleton {

    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

.btn-primary {
    background: #4f46e5;
    border: none;
}

    .btn-primary:hover {
        background: #4338ca;
    }