body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #27272a;
    font-family: sans-serif;
}

/* --- Header Layout --- */
header.main-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    width: 100%;
    height: 160px;          /* fixed header height */
    position: relative;
    overflow: visible;
    z-index: 3;
}

/* --- Search section (limit size so it STOPs covering screen) --- */
.sure {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0;
    margin-top: 80px;
    position: relative;
    z-index: 5; /* stays above header visuals but BELOW toggle */
}

.search-bar {
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #555;
    color: black;
    width: 300px;
    font-size: 16px;
}

.search-btn {
    width: 200px;
    padding: 10px 20px;
    background-color: #ff0b55;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.search-btn:hover {
    background: #980033;
    color: white !important;
}

/* --- Login + Settings --- */
.header-butons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.login-button,
.settings-button {
    background-color: #ff0b55;
    border: none;
    padding: 10px 16px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.login-button:hover,
.settings-button:hover {
    background: #980033;
    color: white !important;
}

.login-button a,
.login-button a:link,
.login-button a:visited,
.login-button a:hover,
.login-button a:active,
.login-button a:focus {
    color: white !important;
    text-decoration: none !important;
}

.settings-button a,
.settings-button a:link,
.settings-button a:visited,
.settings-button a:hover,
.settings-button a:active,
.settings-button a:focus {
    color: white !important;
    text-decoration: none !important;
}

/* --- Logo --- */
.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    height: auto;
}

/* --- SIDEBAR TOGGLE ARROW --- */
#toggleSidebar {
    display: none;
}

#sidebarToggle {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 28px;

    padding: 12px 10px;
    background: #222;
    color: white;

    cursor: pointer;
    border-radius: 0 6px 6px 0;

    z-index: 9999999; /* ALWAYS on top */
}

/* Rotate arrow when sidebar is open */
#toggleSidebar:checked + #sidebarToggle {
    transform: translateY(-50%) rotate(180deg);
}