body {
    background-color: whitesmoke;
    color: #2c3e50;
    font-family: 'Karla';
}

.btn-add {
    height: 40px;
    width: 200px;
    background-color: #06402B;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 6px;
    padding: 0 15px;
}

.btn-add-category {
    height: 40px;
    width: 200px;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 6px;
    padding: 0 15px;
}

/* Main Layout Styles */
.admin-navbar {
    height: 64px;
    border-color: #E5E7E8;
    width: calc(100% - 260px);
    z-index: 1000;
    padding: 12px 26px;
}

.navbar-brand-custom {
    font-family: 'Karla';
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    color: #1E1E1E;
}

/* Action Bar Styles */
.action-bar {
    gap: 16px;
}

.search-box {
    padding: 10px;
    gap: 12px;
    width: 300px;
    height: 40px;
    background: #EFF0F1;
    border: 1px solid #E5E7E8;
}

.search-input {
    outline: none;
    font-family: 'Karla';
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
    background: transparent;
    border: none;
    width: 100%;
}

.search-input::placeholder {
    color: #878889;
    opacity: 1;
}

.search-input::-webkit-search-cancel-button {
    display: none;
}

.filter-button {
    width: 101px;
    height: 40px;
    padding: 10px 16px;
    gap: 10px;
    border: 1px solid #E1E1E1;
    background: #FFFFFF;
    font-family: 'Karla';
    transition: background-color 0.2s ease;
}

.filter-button:hover {
    background: #F8F9FA !important;
}

.filter-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
}

.primary-button {
    width: 185px;
    height: 40px;
    padding: 10px 16px;
    gap: 8px;
    background: #073F3B;
    font-family: 'Karla';
    transition: background-color 0.2s ease;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
}

.primary-button:hover {
    background: #0A5550 !important;
    color: #FFFFFF;
}

.button-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
}

/* Main Content Styles */
.main-content {
    margin-top: 64px;
    background: #F5F6F7;
    min-height: calc(100vh - 64px);
    margin-left: 260px;
    width: calc(100% - 260px);
}

.content-header {
    font-family: 'Karla';
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    color: #1E1E1E;
    margin: 0;
}

/* Breadcrumb Section */
.breadcrumb-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
    min-height: 69px;
}

.breadcrumb-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
}

.breadcrumb-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.breadcrumb-title {
    font-family: 'Karla';
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    color: #1E1E1E;
    margin: 0;
}

.breadcrumb-nav {
    margin: 0;
    padding: 0;
    background: none;
}

.breadcrumb-nav .breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
}

.breadcrumb-nav .breadcrumb-item {
    font-family: 'Karla';
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
}

.breadcrumb-nav .breadcrumb-item a {
    color: #5A5A5A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: #1E1E1E;
}

.breadcrumb-nav .breadcrumb-item.active {
    color: #1E1E1E;
}

.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #5A5A5A;
    padding: 0 8px;
}

.breadcrumb-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    width: 219px;
}

.breadcrumb-button {
    height: 39px; /* Match Figma height */
    width: 110px; /* Fixed width from Figma */
    padding: 10px 16px;
    gap: 8px;
    border: 1px solid #E1E1E1;
    background: #FFFFFF;
    border-radius: 7px;
    font-family: 'Karla';
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
    transition: background-color 0.2s ease;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.08);
}

.breadcrumb-button:hover {
    background: #F8F9FA;
}

.breadcrumb-dropdown-toggle {
    background: #FFFFFF;
    border: 1px solid #E1E1E1;
    border-radius: 7px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.08);
    color: #1E1E1E;
    padding: 0;
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.breadcrumb-dropdown-toggle:hover {
    background: #F8F9FA;
}

.breadcrumb-buttons-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 12px;
    width: 161px; /* From Figma - width of button group */
}

.published-date-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
    color: #696969;
    white-space: nowrap;
    text-align: right;
    width: 100%;
}

.method-count {
    font-family: 'Karla';
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
}

/* Table Styles */
.table-card {
    border: 1px solid #E5E7E8;
    border-radius: 10px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.08);
}

.table-responsive-custom {
    overflow-x: auto;
    overflow-y: visible;
    max-height: none;
}

.table-custom {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 0;
}

.table-header-custom {
    border-bottom: 1px solid #E5E7E8;
}

.table-header-custom th {
    padding: 16px;
    font-family: 'Karla';
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #1E1E1E;
    background: #EFEFEF;
    border: none;
}

.table-header-custom .method-column {
    width: 516px;
    text-align: left;
}

.table-header-custom .country-column {
    width: 98px;
    text-align: center;
}

.table-header-custom .category-column {
    width: 98px;
    text-align: center;
}

.table-header-custom .date-column {
    width: 150px;
    text-align: center;
}

.table-header-custom .status-column {
    width: 150px;
    text-align: center;
}

.table-header-custom .updated-column {
    width: 150px;
    text-align: center;
}

.table-header-custom .action-column {
    width: 24px;
}

/* Table Body Styles */
.table-body-custom tr {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7E8;
}

.table-body-custom tr:last-child {
    border-bottom: none;
}

.table-body-custom td {
    padding: 16px;
    font-family: 'Karla';
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
    border: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-body-custom .method-cell {
    font-weight: 600;
    text-align: left;
}

.table-body-custom .category-cell {
    font-weight: 400;
    text-align: center;
}

.table-body-custom .country-cell {
    font-weight: 400;
    text-align: center;
}

.table-body-custom .date-cell {
    font-weight: 400;
    text-align: center;
}

.table-body-custom .updated-cell {
    font-weight: 400;
    text-align: center;
}

/* Status Badge */
.status-badge {
    font-family: 'Karla';
    font-weight: 600;
    font-size: 13px;
    line-height: 150%;
    padding: 2px 5px;
    border-radius: 10px;
    display: inline-block;
}

.status-published {
    background-color: #BEFFF2;
    color: #088A70;
}

.status-draft {
    background-color: #EFEFEF;
    color: #1E1E1E;
}

/* Dropdown Styles */
.dropdown-toggle-custom {
    background: none;
    border: none;
    color: #6B7280;
    padding: 0;
}

.dropdown-menu-custom {
    border: 1px solid #E5E7E8;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    z-index: 9999 !important;
}

.dropdown-item-custom {
    padding: 8px 16px;
    font-family: 'Karla';
    font-weight: 500;
    font-size: 14px;
}

.dropdown-item-custom:hover {
    background-color: #F8F9FA;
}

.category-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 5px;
    width: auto;
    min-width: 67px;
    height: 24px;
    background: #E5E5E5;
    border-radius: 10px;
    font-family: 'Karla';
    font-weight: 600;
    font-size: 13px;
    line-height: 150%;
    text-align: center;
    color: #1E1E1E;
    white-space: nowrap;
}

/* Content Wrapper */
.item-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.item-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-count {
    font-family: 'Karla';
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
    margin: 0;
}

/* Item List */
.item-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Item Card */
.item-card {
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 16px;
    background: #EFEFEF;
    border: 1px solid #CAD2D6;
    border-radius: 14px;
}

.item-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-text-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Item Text Box */
.item-text-box {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #FFFFFF;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

.item-textarea {
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    font-family: 'Karla';
    font-weight: 500;
    background: transparent;
    color: #000000;
}

.item-arabic {
    font-size: 20px;
    line-height: 150%;
    text-align: right;
}

.item-meaning {
    font-size: 16px;
    line-height: 150%;
    text-align: left;
}

/* Actions Row */
.item-actions-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px 16px;
    height: 25px;
}

.item-actions-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.item-action-label {
    font-family: 'Karla';
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
}

.item-divider {
    width: 1px;
    height: 19px;
    background: #B6BEC2;
}

.item-language-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 8px;
    background: #DBDBDB;
    border-radius: 4px;
    font-family: 'Karla';
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
}

.item-actions-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.item-publish-label {
    font-family: 'Karla';
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
}

/* Toggle Switch */
.item-toggle-wrapper {
    position: relative;
    width: 44px;
    height: 23px;
}

.item-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.item-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #B9B9B9;
    border-radius: 40px;
    transition: 0.3s;
}

.item-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20.37px;
    width: 20.37px;
    left: 1.31px;
    bottom: 1.31px;
    background-color: #FFFFFF;
    border-radius: 50%;
    transition: 0.3s;
}

.item-toggle-input:checked + .item-toggle-slider {
    background-color: #4DCF1F;
}

.item-toggle-input:checked + .item-toggle-slider:before {
    transform: translateX(21px);
}

/* Add Item Button */
.item-add-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    gap: 8px;
    width: 100%;
    height: 43px;
    background: transparent;
    border: 1px dashed #898989;
    border-radius: 7px;
    font-family: 'Karla';
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.item-add-button:hover {
    background: #F8F9FA;
}

.pagination-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    gap: 16px;
    background: #FFFFFF;
    border-radius: 0 0 10px 10px;
    border-top: 1px solid #E5E7E8;
    flex-wrap: wrap;
    min-height: 72px;
    box-sizing: border-box;
}

.pagination-info {
    font-family: 'Karla';
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #1F2937;
    white-space: nowrap;
}

.pagination-container {
    min-width: 270px;
    height: 38px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #E5E7E8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Custom Laravel Pagination Styles */
.pagination-container .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0 8px;
    height: 100%;
    width: 100%;
    list-style: none;
}

.pagination-container .page-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-container .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 30px;
    background: none;
    border: none;
    font-family: 'Karla';
    font-weight: 500;
    font-size: 16px;
    color: #6B7280;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.pagination-container .page-item.active .page-link {
    background: #FFFFFF;
    border: 1px solid #E5E7E8;
    color: #1E1E1E;
    font-weight: 600;
}

.pagination-container .page-item:not(.active) .page-link:hover {
    background: #F8F9FA;
    color: #1E1E1E;
}

.pagination-container .page-item.disabled .page-link {
    color: #9CA3AF;
    cursor: not-allowed;
}

/* Previous and Next buttons */
.pagination-container .page-item:first-child .page-link,
.pagination-container .page-item:last-child .page-link {
    width: auto;
    padding: 0 12px;
    gap: 8px;
}

/* Card Grid Section */
.content-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.content-header-title {
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    color: #1E1E1E;
    margin: 0;
}

.content-header-count {
    font-family: 'Karla', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.card-grid-item {
    width: calc(25% - 18px);
}

.info-card {
    display: flex;
    flex-direction: column;
    padding: 0px;
    height: 211px;
    border: 1px solid #E5E7EB;
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.08));
    border-radius: 12px;
    overflow: hidden;
}

.info-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 16px;
    background: #FFFFFF;
    flex-grow: 1;
}

.card-primary-text {
    font-family: 'Karla', sans-serif;
    font-weight: 500;
    font-size: 25px;
    line-height: 29px;
    text-align: center;
    color: #000000;
}

.card-secondary-text {
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
}

.card-description-text {
    font-family: 'Karla', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    color: #696969;
}

.info-card-footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    height: 43px;
    background: #FFFFFF;
    border-top: 1px solid #E5E7EB;
}

.card-action-btn {
    font-family: 'Karla', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    color: #54B0A9;
    cursor: pointer;
    text-decoration: none;
}

.card-action-btn:hover {
    color: #429791;
    text-decoration: none;
}

/* No Results */
.no-results {
    padding: 40px 16px;
    text-align: center;
    font-family: 'Karla';
    font-weight: 500;
    font-size: 16px;
    color: #6B7280;
    border: none;
}

.modal-input{
    font-family: 'Karla';
    padding-top: 12px;
    padding-right: 10px;
    padding-bottom: 12px;
    padding-left: 10px;
    gap: 10px;
}

.roles-table-card {
    border: 1px solid #E5E7E8;
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.08));
    border-radius: 10px;
    overflow: hidden;
}

.roles-table-header {
    background: #EFEFEF !important;
    border-bottom: 1px solid #E5E7E8 !important;
}

.roles-table-header th {
    font-family: 'Karla', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #1E1E1E;
    padding: 16px;
    border: none;
    background: #EFEFEF !important;
}

.roles-table tbody tr {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7E8;
}

.roles-table tbody tr:last-child {
    border-bottom: none;
}

.roles-table tbody td {
    padding: 16px;
    font-family: 'Karla';
    font-size: 16px;
    line-height: 19px;
    color: #1E1E1E;
    border: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.roles-table-role-name {
    font-weight: 600;
}

.roles-table-total-users {
    font-weight: 400;
}