/*!**************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/css/frontend.css ***!
  \**************************************************************************************************************************************************************************/
/**
 * OHT News Notifications Frontend Styles - Dark Theme
 */

:root {
    --oht-dark-bg: #282c34;
    --oht-dark-bg-lighter: #3a3f4a;
    --oht-dark-border: #4a4f5a;
    --oht-dark-text: #abb2bf;
    --oht-dark-text-light: #c8ccd4;
    --oht-dark-accent: #61afef; /* Light blue accent */
    --oht-dark-success: #98c379; /* Green */
    --oht-dark-error: #e06c75; /* Red */
    --oht-dark-disabled: #5c6370;
}

.oht-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Darker overlay */
    z-index: 99998; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0s 0.3s linear;
}

.oht-sidebar-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out, visibility 0s 0s linear;
}

.oht-sidebar-panel {
    position: fixed;
    top: 0;
    right: -400px; 
    width: 350px; 
    max-width: 90%;
    height: 100%;
    background-color: var(--oht-dark-bg);
    color: var(--oht-dark-text);
    box-shadow: -3px 0 8px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease-in-out;
    font-size: 14px; /* Slightly smaller base font */
}

.oht-sidebar-panel.is-open {
    right: 0; 
}

.oht-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Stretch items to fill height */
    padding: 0; /* Remove padding, handle with tabs/button */
    border-bottom: 1px solid var(--oht-dark-border);
    background-color: var(--oht-dark-bg-lighter); /* Slightly lighter header */
}

.oht-sidebar-tabs {
    display: flex;
    flex-grow: 1; /* Allow tabs to take available space */
}

.oht-tab-button {
    padding: 12px 18px; /* Increased padding */
    border: none; /* Remove border */
    border-bottom: 3px solid transparent; 
    background-color: transparent;
    color: var(--oht-dark-text-light); /* Lighter text for tabs */
    cursor: pointer;
    font-size: 1em; /* Revert to base size for tabs */
    font-weight: 500; /* Medium weight */
    transition: background-color 0.2s, border-color 0.2s;
    flex-grow: 1; /* Make tabs distribute space */
    text-align: center;
}

.oht-tab-button:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.oht-tab-button.active {
    border-bottom-color: var(--oht-dark-accent);
    font-weight: 600; /* Bold active tab */
    color: #fff; /* White active tab */
}

.oht-sidebar-close {
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 300; /* Lighter close button */
    line-height: 1;
    color: var(--oht-dark-text);
    cursor: pointer;
    padding: 10px 15px; /* Consistent padding */
    transition: background-color 0.2s, color 0.2s;
}

.oht-sidebar-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.oht-sidebar-content {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

.oht-sidebar-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--oht-dark-text-light);
    font-weight: 500;
    border-bottom: 1px solid var(--oht-dark-border);
    padding-bottom: 8px;
    font-size: 1.2em; /* Explicitly set H3 size (14px * 1.2 = 16.8px) */
}

.oht-sidebar-content p {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.oht-setting-group {
    margin-bottom: 20px;
}
.oht-setting-group h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--oht-dark-text-light);
    font-weight: 500;
    border-bottom: none; /* Remove border */
    padding-bottom: 0;
}

.oht-setting-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oht-setting-group li {
    margin-bottom: 10px;
    padding: 0;
}

/* Basic Input Styling (Checkbox - requires more effort for full dark theme) */
.oht-setting-group label {
    display: flex; /* Align checkbox and text */
    align-items: center;
    cursor: pointer;
}

.oht-setting-group input[type="checkbox"] {
    margin-right: 8px;
    /* Basic accent color for compatible browsers */
    accent-color: var(--oht-dark-accent);
}

/* Button Styling */
.oht-sidebar-content button {
    padding: 8px 15px;
    background-color: var(--oht-dark-accent);
    color: var(--oht-dark-bg);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.oht-sidebar-content button:hover {
    background-color: #7bc0fc; /* Lighter blue on hover */
}

.oht-sidebar-content button:disabled {
    background-color: var(--oht-dark-disabled);
    color: var(--oht-dark-text);
    opacity: 1; /* Override default */
    cursor: not-allowed;
}

.oht-sidebar-content .button-small {
    padding: 5px 10px;
    font-size: 0.9em;
    background-color: var(--oht-dark-bg-lighter);
    color: var(--oht-dark-text-light);
}
.oht-sidebar-content .button-small:hover {
     background-color: var(--oht-dark-border);
}
.oht-sidebar-content .button-small:disabled {
    background-color: var(--oht-dark-bg-lighter);
    color: var(--oht-dark-disabled);
}


/* Status Messages */
.oht-status-message {
    margin: 15px 0;
    padding: 12px 15px;
    border-left-width: 4px;
    border-left-style: solid;
    border-radius: 3px;
    font-size: 0.95em;
}

.oht-status-success {
    background-color: rgba(152, 195, 121, 0.1); /* #98c379 */
    border-left-color: var(--oht-dark-success);
    color: var(--oht-dark-success);
}

.oht-status-error {
    background-color: rgba(224, 108, 117, 0.1); /* #e06c75 */
    border-left-color: var(--oht-dark-error);
    color: var(--oht-dark-error);
}

/* Bell Button */
.oht-notification-bell-button {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: inherit; 
}

.oht-notification-bell-button svg {
    display: block; 
    fill: currentColor;
    transition: fill 0.2s;
}

.oht-notification-bell-button:hover svg,
.oht-notification-bell-button:focus svg {
    fill: var(--oht-dark-accent); /* Match theme accent */
}

/* Notification History List */
.oht-sidebar-content ul {
    margin-top: 15px;
}
.oht-sidebar-content ul li {
    border-bottom: 1px solid var(--oht-dark-border);
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.oht-sidebar-content ul li img {
    border-radius: 3px;
}
.oht-sidebar-content ul li strong {
    color: var(--oht-dark-text-light);
    font-weight: 500;
}
.oht-sidebar-content ul li a {
    color: var(--oht-dark-accent);
    text-decoration: none;
}
.oht-sidebar-content ul li a:hover {
    text-decoration: underline;
}

/* Utility class */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* --- Admin Bar Adjustment --- */
/* Target the panel specifically when the admin bar is present (on body) - SIMPLIFIED TEST */
body.admin-bar .oht-sidebar-panel {
    top: 32px !important; /* Default WP Admin Bar height - FORCED */
    height: calc(100% - 32px) !important; /* Adjust height - FORCED */
}

/* Also adjust the overlay - SIMPLIFIED TEST */
body.admin-bar .oht-sidebar-overlay {
   top: 32px !important; /* FORCED */
   height: calc(100% - 32px) !important; /* FORCED */
}

@media screen and (max-width: 782px) {
    /* SIMPLIFIED TEST */
    body.admin-bar .oht-sidebar-panel {
        top: 46px !important; /* WP Admin Bar height on smaller screens - FORCED */
        height: calc(100% - 46px) !important; /* FORCED */
    }
    /* SIMPLIFIED TEST */
    body.admin-bar .oht-sidebar-overlay {
        top: 46px !important; /* FORCED */
        height: calc(100% - 46px) !important; /* FORCED */
    }
} 

/* Styles for topic selection items */
.oht-topic-item {
    margin-bottom: 0.75rem; /* Add some space between topic items */
    /* Add other styles like padding if needed */
}

/* Styles for the action buttons container */
.oht-action-buttons {
    display: flex;
    flex-direction: row; /* Arrange buttons side-by-side */
    gap: 0.75rem; /* Space between buttons */
    margin-top: 1.5rem; /* Space above the buttons */
    justify-content: space-between; /* Spread buttons */
}

/* Base styles for all sidebar buttons */
.oht-sidebar-button {
    display: inline-block;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border-radius: 0.375rem; 
    border: none; /* Remove border added previously */
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
    flex: 1; /* Allow buttons to share space */
    box-sizing: border-box;
    background-color: var(--oht-dark-accent);
    color: var(--oht-dark-bg);
    font-size: 11px;
}

.oht-sidebar-button:hover {
     background-color: #7bc0fc; /* Lighter blue on hover (from original styles) */
}

/* Specific style for the disable button using .button-small */
.oht-sidebar-button.button-small { /* More specific selector */
    padding: 0.5rem 0.8rem; /* Adjust padding for smaller button */
    font-size: 0.8rem; /* Smaller font size */
    background-color: var(--oht-dark-bg-lighter); /* Lighter background */
    color: var(--oht-dark-text-light);
    font-weight: normal; /* Normal weight for disable */
    font-size: 11px;
}

.oht-sidebar-button.button-small:hover {
     background-color: var(--oht-dark-border);
}

/* Keep the generic disabled state */
.oht-sidebar-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
} 

#menu-right #oht-notification-bell-trigger{
	position:absolute;
	right:10px;
	top:10px;
}
#menu-right .oht-notification-bell-button svg{
	fill:white;
}

/*# sourceMappingURL=frontend.css.map*/