﻿body {
    font-size: 12px;
}

td, th {
    white-space: normal;
    overflow: hidden;
    word-break: break-word;
}

.btn-xs {
    padding: 6px 6px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 3px;
}

/*table td, table th {
    vertical-align: middle;
}*/

@media (max-width:1024px) {

    .card {
        margin-top: 70px;
    }

    table th,
    table td {
        font-size: 14px;
        padding: 8px;
    }

    .align-middle {
        width: max-content;
    }

    .input-group input {
        font-size: 14px;
    }

    .pagination {
        font-size: 14px;
    }

    .fa-solid {
        font-size: 13px;
    }
}


@media (max-width: 992px) {

    .btn {
        padding: 4px 8px;
        font-size: 13px;
    }

    table th, table td {
        font-size: 14px;
    }

    .input-group input {
        font-size: 14px;
    }
}


@media (max-width: 768px) {

    .card {
        margin-top: 80px;
    }

    .row.mb-3 {
        flex-direction: column;
        gap: 10px;
    }

        .row.mb-3 .col-md-6 {
            width: 100%;
            text-align: left !important;
        }

    table th, table td {
        font-size: 13px;
        white-space: nowrap;
    }

    .pagination {
        justify-content: center !important;
    }
}


@media (max-width: 576px) {

    table th, table td {
        font-size: 12px;
        padding: 6px;
    }

    .btn {
        font-size: 12px;
        padding: 4px 6px;
    }

    .input-group input {
        font-size: 12px;
    }
}


@media (max-width: 400px) {

    table th, table td {
        font-size: 11px;
    }

    .btn i {
        font-size: 11px;
    }
}

.card-header h5 {
    font-size: 18px;
}

.form-label {
    font-size: 12px;
}

.form-control {
    font-size: 12px;
}

.form-select {
    font-size: 12px;
}

@media (max-width:1200px) {

    .card {
        margin-bottom: 15px;
    }

    .form-control {
        font-size: 12px;
    }

    .form-select {
        font-size: 14px;
    }
}

@media (max-width:992px) {

    .card-header h5 {
        font-size: 16px;
    }

    .form-label {
        font-size: 12px;
    }

    .form-control {
        font-size: 12px;
    }

    .form-select {
        font-size: 14px;
    }
}

@media (max-width:768px) {

    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .row {
        row-gap: 10px;
    }

    .card-header h5 {
        font-size: 15px;
    }

    .form-label {
        font-size: 12px;
    }

    .form-control {
        font-size: 12px;
        padding: 6px;
    }

    .form-select {
        font-size: 12px;
        padding: 6px;
    }
}

@media (max-width:576px) {

    .card {
        border-radius: 10px;
    }

    .card-header h5 {
        font-size: 14px;
    }

    .form-label {
        font-size: 12px;
    }

    .form-control {
        font-size: 12px;
        padding: 5px;
    }

    .form-select {
        font-size: 12px;
        padding: 5px;
    }

    .btn {
        font-size: 13px;
        padding: 8px;
    }
}
