﻿body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.825rem;
    font-weight: 400;
    line-height: 1.5;
    color: #747a80;
    text-align: left;
    background-color: #f8f8f8;
}

/*--------------------------------------------------------------
>>> Failure Pages
----------------------------------------------------------------*/
.failure-notify {
    background-color: #F56960;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    padding: 10px;
    color: #ffffff;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.failure-notify .failure-icon i {
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    border-radius: 100%;
    border: 3px solid #ffffff;
    line-height: 55px;
    height: 60px;
    width: 60px;
    text-align: center;
    font-size: 28px;
}

.failure-notify .failure-content {
    margin-left: 20px;
    margin-top: 1px;
    margin-bottom : 20px;
        
}

.failure-notify .failure-content h3 {
    margin-bottom: 5px;
    color: #ffffff;
}

.failure-notify .failure-content p {
    margin-bottom: 0;
}

.upload-input .form-group {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    cursor: pointer;
    display: inline-block;
}

.upload-input .form-group span {
        border: 2px dashed #e6e6e6;
        font-weight: 600;
        padding: 12px 50px;
        display: block;
        position: relative;
        -webkit-transition: all 0.4s;
        -moz-transition: all 0.4s;
        -ms-transition: all 0.4s;
        -o-transition: all 0.4s;
        transition: all 0.4s;
}

.upload-input .form-group input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        cursor: pointer;
        opacity: 0;
        display: block;
        height: 100%;
        filter: alpha(opacity=0);
}

.upload-input .form-group:hover span {
    border-color: #2C75BA;
}

/*--------------------------------------------------------------
>>> Pagination
----------------------------------------------------------------*/

/*.pagination {*/
    /*display: table-row;*/
    /*display:inline-block;
    width:50%;
    background-color: #fff;
    padding: 0px;
    margin: 1% auto;

}
    .pagination a {
        margin: auto;
    color: #444444;
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s; 
    }


        .pagination a:hover {
            background-color: #F56960;
    border-color: #F56960;
    color: #ffffff;
    border-radius: 100%;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;

           
        }
    .pagination span {
         margin:auto;
    background-color: #F56960;
    border-color: #F56960;
    color: #ffffff;*/
    /*display:block;*/
    /*width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 100%; 
    display:inline-block
     

    }*/

/* ===== CONTAINER PAGER ===== */
.pagination {
    text-align: center !important;
    padding: 5px 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

    /* ===== BUANG SEMUA KOTAK TABLE GRIDVIEW ===== */
    .pagination table,
    .pagination tbody,
    .pagination tr,
    .pagination td {
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* center table dalam pager */
    .pagination table {
        margin: 0 auto !important;
    }

    /* ===== PAGE NUMBER ===== */
    .pagination a,
    .pagination span {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        margin: 0 4px;
        font-size: 12px;
        text-decoration: none;
        color: #444;
        border-radius: 50%;
        transition: 0.3s;
    }

        /* ===== HOVER ===== */
        .pagination a:hover {
            background-color: #F56960;
            color: #fff;
        }

    /* ===== CURRENT PAGE ===== */
    .pagination span {
        background-color: #F56960;
        color: #fff;
    }

    /* ===== FIRST / LAST BUTTON ===== */
    .pagination a:first-child,
    .pagination a:last-child {
        border-radius: 15px; /* bagi nampak pill sikit */
        padding: 0 10px;
        width: auto;
    }

/* Ruang profil */
.profile-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 110px; /* Lebar keseluruhan */
    height: 75px; /* Tinggi keseluruhan */
}

/* Gambar + teks Profil */
.profile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px;
    height: 50px;
    padding: 4px 8px;
    color: #222;
    font-size: 12px;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
}

    /* Gambar profil lebih kecil */
    .profile-toggle .profile-avatar {
        display: block;
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        max-width: 26px !important;
        object-fit: cover;
        border-radius: 50%;
    }

    /* Teks Profil */
    .profile-toggle span {
        display: inline-flex;
        align-items: center;
        margin: 0;
        line-height: 26px;
    }

    /* Anak panah */
    .profile-toggle .fa-caret-down {
        margin: 0;
        font-size: 10px !important;
    }

    /* Buang anak panah asal Bootstrap */
    .profile-toggle::after {
        display: none !important;
    }

/* Kotak dropdown lebih kecil */
.profile-dropdown .account-menu {
    right: 0 !important;
    left: auto !important;
    min-width: 175px !important;
    margin-top: 0;
    padding: 4px 0;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

/* Nama pengguna */
.profile-dropdown .profile-name {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    color: #333;
    font-size: 12px;
    line-height: 1.2;
    border-bottom: 1px solid #eee;
}

/* Link Log Keluar */
.profile-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 8px 12px;
    color: #333;
    font-size: 12px;
    line-height: 1.2;
}

    /* Kecilkan ikon dalam dropdown */
    .profile-dropdown .profile-name i,
    .profile-dropdown .dropdown-item i {
        width: 16px;
        font-size: 14px !important;
        text-align: center;
    }

    /* Hover */
    .profile-dropdown .dropdown-item:hover {
        color: #fff;
        background-color: #078fc4;
    }


