.outer {
    width: 100%;
    padding-top: 20px;
}

.outer-right {
    padding-left: 20px;
}

.empty-state-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    width: 100%;
}

.empty-state-message {
    text-align: center;
    margin: 0 !important;
    padding: 0 !important;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2196F3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-message {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.inner {
    position: relative;
}

p {
    margin: 0 0 0 42px;
}

/* Override default p margin when button is on right */
p.p_right {
    margin: 0 60px 0 0 !important;
}

p.p_left {
    margin: 0 0 0 42px !important;
}

.x_icon {
    position: absolute;
    height: 32px;
    width: 32px;
    cursor: pointer;
}

.x_icon_left {
    left: 0;
    right: auto;
    margin: 0 0 0 5px;
}

.x_icon_right {
    left: auto;
    right: 30px;
    margin: 0;
}

.p_left {
    margin: 0 0 0 42px;
}

.p_right {
    margin: 0 42px 0 0;
}

.top_spacer {
    vertical-align: top;
}

.title-container {
    padding-left: 5px;
}

.title-container[onclick],
.title-container a {
    cursor: pointer;
    transition: opacity 0.2s;
}

.title-container[onclick]:hover,
.title-container a:hover {
    opacity: 0.7;
}

/* Add padding under logo on desktop only */
@media screen and (min-width: 769px) {
    .title-container {
        padding-bottom: 10px;
        display: inline-block;
    }
    
    .header {
        padding-bottom: 10px !important;
    }
}

.profile-icon-container {
    position: relative;
    height: 35px;
    display: flex;
    align-items: center;
}

.profile-icon {
    font-size: 1.2em;
    text-decoration: none;
    color: black;
    cursor: pointer;
    padding: 2px 8px;
    display: inline-block;
}

.profile-icon:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.profile-menu {
    position: absolute;
    top: 35px;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 240px;
    padding: 5px 0;
}

.profile-menu a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 0.5em;
}

.profile-menu a:hover {
    background-color: #f0f0f0;
}

html {
    font-family: monospace;
    font-size: larger;
    font-weight: bold;
    color: Black;
}

body {
    margin: 0px;
    padding: 0px;
}

.header {
    margin: 0px;
    padding: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    position: sticky;
    top: 0;
    z-index: 100;
}

a:link { color: #000000; }
a:visited { color: #000000; }
a:active { color: #000000; }
a:hover { background-color: white; }

.media-container {
}

.button-container {
    float: left;
    margin: 0 5px 5px 0;
}

.button-container + p {
    overflow: hidden;
}

.clear {
    clear: left;
}

.subscriptions-panel {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

.subscriptions-panel h2 {
    margin-top: 0;
    font-size: 1.2em;
}

.subscription-item {
    margin: 5px 0;
}

.subscription-item label {
    font-weight: normal;
    cursor: pointer;
}

.subscription-item input[type="checkbox"] {
    margin-right: 8px;
}

.save-subscriptions {
    margin-top: 10px;
    padding: 5px 15px;
    font-size: 1em;
    cursor: pointer;
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    cursor: pointer;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2196F3;
    transition: .3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #2196F3;
}

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

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 1px #2196F3;
}

