﻿.containeR {
    display: flex;
    gap: 30px;
    padding: 30px 290px;
}

.sidebar {
    background: #f5f5f5;
    padding: 20px;
    width: 250px;
    border-radius: 3px;
    border: 1px solid lightgray;
    height: 250px; /* ose një vlerë fikse që do ti */
}


    .sidebar h3 {
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 18px;
        font-weight: bold;
    }

    .sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .sidebar ul li {
            margin-bottom: 10px;
        }

            .sidebar ul li a {
                text-decoration: none;
                color: #2956a4;
                font-size: 15px;
                cursor: pointer;
            }

                .sidebar ul li a.active {
                    font-weight: bold;
                    text-decoration: underline;
                }

.content {
    flex: 1;
}

.doc-card {
    background: #f5f5f5;
    border-radius: 3px;
    border: 1px solid lightgray;
    padding: 10px 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-info {
    flex: 1;
}

.doc-title {
    font-weight: bold;
    margin: 0 0 5px;
    font-size: 16px;
    color: #2956a4;
}

.doc-meta {
    font-size: 13px;
    color: #666;
}

.doc-actions {
    display: flex;
    gap: 15px;
    font-size: 14px;
}

    .doc-actions a {
        color: #2956a4;
        text-decoration: none;
    }

/* Pagination */
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

    .pagination button {
        padding: 6px 12px;
        border: 1px solid #2956a4;
        background: #fff;
        cursor: pointer;
        border-radius: 4px;
    }

        .pagination button.active {
            background: #0044cc;
            color: #fff;
        }


/* CSS ekzistuesi i jot mbetet identik */

/* Vetëm për mobile/tablet */
@media (max-width: 992px) {
    .containeR {
        flex-direction: column; /* sidebar shkon sipër */
        padding: 20px; /* zvogëlo padding-un në mobile */
    }

    .sidebar {
        width: 100%; /* sidebar merr gjithë gjerësinë */
        margin-bottom: 20px; /* hapësirë poshtë sidebar-it */
        height: auto; /* mos e mbaj me lartësi fikse */
    }

    .content {
        width: 100%;
    }

    .doc-card {
        flex-direction: column; /* info dhe actions në kolonë */
        align-items: flex-start;
    }

    .doc-actions {
        margin-top: 10px; /* butonat poshtë tekstit */
    }
}
