﻿body {
    background-color: #f8f9fb;
}

main {
    min-height: 70vh;
    padding-top: 40px;
    margin-bottom:80px
}

.navbar-brand .logo {
    width: 140px;
}
.navbar-brand .logoText {
    font-size: 13px;
    text-align: right;
    margin: -10px 0 0 0;
    padding: 0;
    font-weight: 500;
    color: #9d0a0e;
}

.navbar-brand {
    font-size: 18px;
    letter-spacing: 0.3px;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
}

    .nav-link:hover {
        color: #0d6efd !important;
    }

/* Top Navbar Style */

.top-navbar {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 6px 0;
}

.navbar-brand {
    font-size: 18px;
    letter-spacing: 0.3px;
    color: #111 !important;
}

.nav-link {
    font-size: 14px;
    color: #333 !important;
    font-weight: 500;
    cursor:pointer;
}

    .nav-link:hover {
        color: #000 !important;
    }

.btn-dark {
    background-color: #111;
    border-color: #111;
    border-radius: 6px;
}

    .btn-dark:hover {
        background-color: #000;
        border-color: #000;
    }


.nav-profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-link.active {
    font-weight: 600;
    color: #000 !important;
    position: relative;
}

    .nav-link.active::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 100%;
        height: 2px;
        background-color: #000;
    }

/*    Login Page CSS*/

.login-wrapper {
    min-height: 50vh;
    background-color: #f8f9fb;
}

.login-card {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
}

    .login-card h4 {
        font-size: 20px;
    }

.form-control {
    height: 45px;
    border-radius: 8px;
}

.login-wrapper .btn-dark {
    height: 45px;
    border-radius: 8px;
}


.portal-card {
    width: 220px;
    height: 180px;
    border-radius: 12px;
    padding: 30px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
}

    .portal-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

.client-card {
    border-top: 4px solid #9d0a0e;
}

.expert-card {
    border-top: 4px solid #1b67af;
}

.back-btn{
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.card .page-header {
    border-bottom: 1px solid #cdcdcd;
    padding-bottom: 10px;
}

    .card .page-header.client h4{
        color:#9d0a0e;
        font-size:18px;
    }
    .card .page-header.expert h4 {
        color: #1b67af;
        font-size: 18px;
    }

/*    table CSS*/
/* Search box */
.dataTables_filter input {
    border-radius: 20px;
    padding: 6px 12px;
    border: 1px solid #ddd;
}


/* Pagination container */
.dataTables_wrapper .dataTables_paginate {
    display: flex;
    gap: 6px;
}

    /* Pagination buttons */
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        border-radius: 6px !important; /* box style */
        min-width: 36px;
        height: 36px;
        padding: 6px 10px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border: 1px solid #ddd !important;
        background: #f8f9fa !important;
        color: #333 !important;
        font-size: 14px;
    }

        /* Active page */
        .dataTables_wrapper .dataTables_paginate .paginate_button.current {
            background: #e9ecef !important;
            border: 1px solid #ced4da !important;
            color: #000 !important;
            font-weight: 600;
        }

        /* Hover */
        .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background: #dee2e6 !important;
            border-color: #ced4da !important;
            color: #000 !important;
        }
.dataTables_paginate span{
    display:flex;
}
#clientsTable_wrapper.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #000 !important;
}

.dataTables_length {
    margin: 0;
}

.dataTables_info {
    padding-top: 8px;
    width:100%
}


footer {
    background: #ffffff;
    padding: 18px 0;
    font-size: 14px;
    text-align: center;
    border-top: 1px solid #eaeaea;
    position: fixed;
    bottom: 0;
    width: 100%;
}
