* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f1f2f5;
    background-image: url("https://www.transparenttextures.com/patterns/cream-paper.png");
    color: #333;
}

.top-bar-wrapper {
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    width: 100%;
    position: relative;
    z-index: 10;
}

.top-bar {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 65px;
    padding: 0 20px;
}

.logo {
    background-color: #0b3d68; 
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 18px;
    color: #fff;
    line-height: 1.1;
    font-weight: normal;
    letter-spacing: 0.5px;
    position: relative;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    width: 32px;
    height: 32px;
    background-color: #1a4971; 
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    font-size: 14px;
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #d9534f;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-left: 10px;
}

.profile span {
    font-size: 13.5px;
    color: #495057;
    font-weight: 500;
}

.small-chevron {
    font-size: 10px;
    color: #6c757d;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 5px;
}

.main-wrapper {
    max-width: 1300px;
    margin: 30px auto;
    padding: 0 20px;
}

.second-nav {
    display: flex;
    justify-content: space-between;
    background-color: #3e4850; 
    color: #fff;
    padding: 0 20px;
    height: 50px;
    align-items: center;
    border-radius: 4px 4px 0 0;
}

.nav-left {
    display: flex;
    align-items: center;
    height: 100%;
}

.home-icon {
    color: #ced4da;
    font-size: 13px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    cursor: pointer;
}

.nav-left a {
    color: #e9ecef;
    text-decoration: none;
    font-size: 13px;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 500;
    position: relative;
}

.nav-left a:hover {
    color: #fff;
    background-color: rgba(255,255,255,0.05);
}

.nav-left a.active {
    color: #fff;
    box-shadow: inset 0 -3px 0 0 #0dcaf0;
    background-color: rgba(255,255,255,0.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.edit-mode-text {
    font-size: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 18px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #adb5bd;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
}

.switch input:checked + .slider {
    background-color: #0d6efd;
}

.switch input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

.search-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.search-btn:hover {
    background-color: rgba(255,255,255,0.25);
}

.content-body {
    padding: 40px;
    background: #fff;
    min-height: 800px;
}

.page-title {
    font-size: 26px;
    color: #495057;
    margin-bottom: 35px;
    font-weight: 700;
}

.section {
    margin-bottom: 45px;
}

.section-title {
    font-size: 17px;
    color: #495057;
    margin-bottom: 12px;
    font-weight: 600;
}

.divider {
    border: none;
    border-top: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.empty-text {
    font-size: 13.5px;
    color: #6c757d;
}

.controls-row {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    align-items: center;
}

.btn-dropdown {
    background-color: #0b4a7d; 
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 2px;
    font-size: 13.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-dropdown:hover {
    background-color: #08385e;
}

.btn-dropdown i {
    font-size: 10px;
}

.btn-dropdown.small {
    padding: 6px 12px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 2px;
    font-size: 14px;
    outline: none;
    color: #495057;
}

.search-input-wrapper input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

.clear-icon {
    position: absolute;
    right: 12px;
    background: #e9ecef;
    color: #adb5bd;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
}

.clear-icon:hover {
    background: #dee2e6;
    color: #6c757d;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    color: #868e96;
}

.empty-icon-wrapper {
    font-size: 50px;
    color: #ced4da;
    margin-bottom: 15px;
}

.controls-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #495057;
    margin-top: 10px;
}

.pagination {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.btn-nav {
    background: #fff;
    border: 1px solid #dee2e6;
    width: 36px;
    height: 36px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #495057;
}

.btn-nav:hover {
    background: #f8f9fa;
}
