* {box-sizing: border-box;}

@font-face {
    font-family: 'Ubuntu';
    src: url('/fonts/Ubuntu-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('/fonts/Ubuntu-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

  
:root {
--primary-bg: #101F30;
/* --primary-bg: #0a0f1f;  */
--secondary-bg: #080808; 
--secondary-bg: #16181C;
--menu-text: #ffcc33; /* Bright Gold */
--menu-text: #FFC107;
--gold-accent: #e6b800; /* Deep Gold */
--menu-svg: #569cd6; /* Soft Blue #007ede*/
--menu-svg: #007ede; /* Soft Blue #007ede*/
--border-color: #2a2a2a;
--light-gray: #d1d1d1;
--font-main: Arial, Helvetica, sans-serif;
--main-text: #d1d1d1;
--online: #78A864;
--card-text: #D1D1D1;
--red: #E53935;
}

body {
    font-family: "Ubuntu", Arial, sans-serif;
    /* font: 1em / 1.3em "Ubuntu", Arial, Helvetica, sans-serif; */
    /* font-weight: 500; */
    background-color: #16181C;
    color: var(--main-text);
    margin: 0;
    padding: 0;
}


.prev-btn, .next-btn {
    font-family: "Ubuntu", Arial, sans-serif;
    cursor: pointer; 
    display: inline; 
    font-weight: bold; 
    color: #ebebeb;
    border: none; 
    border-radius: 4px; 
    background-color: var(--menu-svg); 
    margin: 10px; 
    width: 130px; 
    padding: 15px 20px 15px 20px;
}
.prev-btn {
    background-color: var(--red);
}
.prev-btn:hover, .next-btn:hover {
    color: white;
}

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

.online_offline {
    font-size: 12px;
    padding: 10px 0px 20px 0px;
    color: var(--menu-text);
    font-weight: 400;
}
.online_offline span {
    cursor: pointer;
    padding-right: 15px;
}
.online_offline span.active {
    font-weight: 500;
}
.online_offline span:hover {
    text-decoration: underline;
}
.i-box {
    position:relative; 
    width:100%; 
    /* padding-bottom: 45%; */
    aspect-ratio: 20 / 9;
    overflow: hidden !important;
    /* aspect-ratio: 16 / 9; */
}
.m-box {
    position:relative; 
    width:100%; 
    aspect-ratio: 16 / 9;
    /* padding-bottom: 56.25%; */
    overflow: hidden !important;
}
.i-frame {
    position: absolute; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    border-radius:3px;
    z-index: 2;
}
/* side menu */
.side-menu-label {
  text-transform: uppercase;
  color: var(--menu-text);
  font-size:12px;
  padding:5px 16px;
  width:100%;
}
.left-side-menu {
  font-weight: normal;
}
.left-side-menu ul {
  list-style-type: none;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}
.left-side-menu a {
  border-left: 1px solid #1f1f1f;
  color: white;
  text-align: left;
  display: block;
  padding: 8px 16px;
  text-decoration: none;
} 
.container div {
    display: flex;
    align-items: center;
}
.t-menu {
    height: 25px;
    display: none;
    cursor: pointer;
    margin-right: 10px;
    position: relative;
    fill: #ebebeb;
    left: 0px;
}
.t-menu:hover {
    fill: white;
}
.svg.search {
    fill: var(--main-text);
    background: transparent;
    top: 0;
    top: .15em;
    height: 0.91em;
    display: inline-block;
    position: relative;
    vertical-align: top;
}
.svg.l-menu {
    fill: var(--menu-svg);
    top: 0;
    top: .15em;
    margin-right: 7px;
    height: 0.91em;
    display: inline-block;
    position: relative;
    vertical-align: top;
}
  
.svg.l-menu use {
    fill: var(--menu-svg);
}

.svg.sort {
    display: inline-block;
    fill: #ebebeb;
    top: 0;
    top: .15em;
    margin-right:0px;
    padding-right: 0px;
    height: 0.91em;
    height: 16px;
    vertical-align: middle;
}

svg.webcam {
    position: relative;
    margin-right: 5px;
    top: 2px;
    display: inline-block;
    height: 12px;
    width: 12px;
}
.svg.comm {
    width: 20px; 
    height: 20px;
    fill: var(--menu-svg); 
    vertical-align: top; 
    margin-right: 5px; 
}
.svg.x {
    display: inline-block;
    position: relative;
    vertical-align: baseline;
    fill: var(--main-text);
    height: 20px;
    width: 20px;
    padding: 0px;
    /* top: .1em; */
    vertical-align: baseline;
}
.svg.x:hover {
    fill: white;
  }
.svg.cal {
    position: relative;
    width: 16px;
    height: 16px;
    fill: var(--menu-svg);
    vertical-align: baseline;
    top: 1px;
    display: inline-block;
    margin: 0 3px 0 3px; 
  }

.profile h1 {
    font-size: 20px;
    color: var(--menu-text);
    margin-top: 5px;
    margin-bottom: 5px;
}
.profile h2 {
    font-size: 16px;
    text-align: center;
    color: var(--menu-text);
    margin-bottom: 0px;
}


/* Header */
header {
    background: #101F30;
    background: var(--primary-bg);
    padding: 1px 0px 1px 10px;
    /* margin-top: 5px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #22252A;
    vertical-align: middle;
    height: 50px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
.login {
    gap: 10px;
}
.login a {
    display: inline-block;
    color: #FFC107;
    color: var(--menu-text);
    font-size: 12px;
    margin-right: 7px;
    font-weight: 500;
}

.login a.l {
    /* background-color: #FFC107; */
    background-color: var(--menu-svg);
    color: white;
    font-size: 16px;
    border-radius: 4px;
    padding: 5px 8px;

}
.login a.l:hover {
    color: white;
    text-decoration: none;
}
.login a.l:active, .chat-box a:active, .sort-options button:active, .clear_history button:active, .filters-btn:active, .clear-filters:active,
.clear:active, .filter-footer a:active, .filter-footer button:active, .t-menu:active, .svg.x:active {
    transform: translateY(1px); /* Moves button 3px down */
}
.container {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.logo {
    color: #ffd700;
    color: var(--menu-text);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}
.logo img {
    user-select: none;
    position: relative;
    display: inline-block;
    top: 2px;
    height: 65px;
    height: 36px;
    width: auto;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    padding: 8px;
}

.nav a:hover {
    color: #ff4081;
}

/* Search */
.search-box {
    background: var(--secondary-bg);
    display: block;
    justify-content: right;
    padding: 5px 5px 0px 0px;
    position: relative;
    height: 8px;
}


.toggle-search {
    display: none;
}

/* Button styling */
.search-btn {
    padding: 6px;
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/* SVG inside the button */
.search-btn .svg.search {
    fill: var(--main-text);
    width: 18px;
    height: 18px;
}

/* Textbox styling (hidden by default) */
.search-input {
    width: 0;
    opacity: 0;
    padding: 6px 6px;
    padding-right: 30px;
    font-size: 14px;
    border: 1px solid #6d7681;
    border-radius: 4px;
    background: #2a2a2a;
    color: white;
    /* transition: width 0.3s ease, opacity 0.3s ease; */
    position: absolute;
    right: 5px;
    outline: none;
}

/* When search box is active */
.search-box.active .search-input {
    width: 200px; /* Adjust width */
    opacity: 1;
    /* position: relative; */
}

/* Move the button inside the input on the right */
.search-btn {
    position: absolute;
    right: 5px;
    top: 2px;
    z-index: 10;
    cursor: pointer;
}

/* =============== */

.padding, .cams-padding {
    padding: 0px 15px;
    overflow-x: hidden;
}
.cams-padding {
    height: 100%;
}
.cams-padding h1 {
    font-size: 20px;
}
.offline-cam {
    display: block;
    align-items: center;
    padding-top:5px;
    font-size: 14px;
    align-items: center;
    line-height: 16px;
}
.offline-cam a {
    color: var(--menu-text);
    font-weight: 500;
    display: inline-block;
}
.i-stream {
    padding: 0px 15px;
}
/* Live Feed Grid */
.cam-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 7px;
    margin: auto;
    padding: 2px;
}

/* Stream Cards */
.cam-item {
    background: #242424;
    background: #16181C;
    border: 1px solid var(--menu-text);
    text-align: left;
    border-radius: 4px;
    overflow: hidden;
    padding-bottom: 2px;
}

.cam-item img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.cam-img-container {
    position: relative; 
}

.card-new-banner {
    position: absolute;
    font-size: 10px;
    bottom: 3px;
    right: 3px;
    padding: 1px 3px 1px 3px;
    color: white;
    background: #71b404;
    user-select: none;
    pointer-events: none;
}
.card-private-banner {
    position: absolute;
    font-size: 10px;
    bottom: 3px;
    right: 3px;
    padding: 1px 3px 1px 3px;
    color: white;
    background: #E53935;
    user-select: none;
    pointer-events: none;
}
.card-hidden-banner {
    position: absolute;
    font-size: 10px;
    bottom: 3px;
    right: 3px;
    padding: 1px 3px 1px 3px;
    color: white;
    background: #007ede;
    user-select: none;
    pointer-events: none;
}
.card-offline-banner {
    background: #6D6D6D;
    position: absolute;
    font-size: 10px;
    bottom: 3px;
    right: 3px;
    padding: 1px 3px 1px 3px;
    color: white;
    user-select: none;
    pointer-events: none;
}
.card-offline-banner.offline {
    position: relative;
    font-size: 14px;
    display: inline-block;
    color: #ebebeb;
    font-weight: 500;
    top: 0px;
    line-height: 16px;
    margin-left: 5px;
    margin-right: 2px;
    border-radius: 4px;
}

.cam-details {
    padding: 4px 7px 0;
    text-align: left;
}
.cam-username {
    display: flex;
    align-items: normal; 
    align-content: normal;
    overflow: hidden;
    word-break: break-word;
    vertical-align: bottom;
    border-bottom: 1px solid #acacac;
    align-items: center;
}

.cam-username a {
    display: block;
    white-space: nowrap;
    text-align: left;
    font-weight: 500;
    /* font-weight: bold; */
    font-size: 14px;
    word-break: break-word;
    color: var(--red);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    flex-grow: 1;
    line-height: 14px;
    padding: 0px;
    margin: 0px;
    gap: 6px;
}
.asl {
    display: inline-flex;
    align-items: center; 
    gap: 5px;
}
.asl span {
    font-weight: 500;
    font-size: 12px;
    align-items: center;
    color: var(--menu-text);
    display: block;
    
}
.asl span.age {
    width: 14px;
}

.asl .gender-icon img {
    display:inline-block;
    width: 14px;
    height: 14px;
}

.tag-img {
    position:relative;
    vertical-align:middle;
    top:-1px;
    display:inline-block;
    height:11px;
    width:15px;
    margin-right:4px;
    border-radius:2px
}

.asl .flag-icon img,.profile-flag img {
    width: 16px; 
    height: 12px;
    border-radius: 2px; 
    display: inline-block;
    position: relative;
    vertical-align: middle;
    top: -2px;
}
.profile-flag img {
    width: 24px; 
    height: 18px;
    margin-right: 6px;
}
.country-flag {
    position: relative;
    margin-right:5px;
    border-radius:2px;
    height:21px;
    width:28px;
    display:inline-block;
    vertical-align:top;
    top: 3px;
}


.cam-username a:hover {
    text-decoration: underline;
}
.cam-subject {
    display: flex;
    text-align: left;
    word-break: break-all;
    font-size: 11px;
    color: var(--card-text);
    padding: 2px 2px;
    height: 16px;
    overflow: hidden;
    line-height: 14px;
  }
  .cam-stats {
    display: block;
    font-size: 10px;
    font-weight: 400;
    font-stretch: 100%;
    line-height: 16.8px;
    color: var(--gold-accent);
    padding: 0px 0px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background: #101F30;
    background: var(--primary-bg);
    color: var(--main-text);
    font-size: 14px;
    border-top: 1px solid #22252A;
}

footer a {
    color: var(--red);
    text-decoration: none;
}
footer p.s {
    font-size: 11px;
}
.footer-links {
    display: flex;
    justify-content: center; 
    gap: 20px; 
    margin-bottom: 20px;
}
.footer-img {
    gap: 15px;
    display:flex;
    justify-content: center;
  }

.body-container {
    display: flex;
  }
.left-side {
    float: left;
    display: block;
    font-size: 16px;
    width: 150px;
    min-width: 150px; 
    background-color: var(--primary-bg);
    padding: 0px 0px;
  }
  .right-side {
    border-left: 1px solid #2a2a2a;
    float: right;
    background-color: #16181C;
    padding-top: 0px;
    width: 100%;
    min-height: 84vh;
    padding-bottom: 15px;
  }
  .right-side h1 {
    color: var(--menu-text);
    font-size: 24px;
    margin-top: 0px;
  }
  .svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.svg-container svg {
    width: 100%;
    height: auto;
    max-width: 1000px;
}
text {
    font-size: 14px;
    fill: #ffffff;
    font-family: Arial, sans-serif;
}
text.day-label { text-anchor: end; font-weight: bold; }
text.hour-label { text-anchor: middle; font-weight: bold; }
rect {
    transition: fill 0.2s ease-in-out;
}
rect:hover {
    stroke: #fff;
    stroke-width: 2px;
    rx: 5;
    cursor: pointer;
}

.legend {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-size: 14px;
    color: var(--main-text);
}
.legend span {
    margin: 0 10px;
}

.legend-gradient {
    width: 150px;
    height: 15px;
    background: linear-gradient(to right, rgba(2, 119, 189, 0.2), rgb(2, 119, 189)); 
    border-radius: 5px;
}
.chat-box {
  padding-top: 5px;
  text-align:center;
  bottom: 0px;
}
.chat-box a {  
  font-size: 16px;
  line-height: 20px;
  display: inline-block;
  color: #ebebeb;
  width:100%;
  border-radius:4px;
  background-color: var(--menu-svg);
  text-decoration:none;
  padding: 18px;
  text-transform: uppercase;
  font-weight: bolder;
}
.chat-box a:hover {  
  color: white;
}
.online-cams-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--secondary-bg); 
    padding: 10px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
}
.main-content {
    display: block;
    width: 100%;
    /* background-color: var(--secondary-bg);  */
    padding: 1px 1px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 10px;
    font-size: 14px;
}
.main-content a {
    color: var(--menu-text);
    font-weight: bold;
}
.main-content h2 {
    color: var(--menu-text);
    font-size: 20px;
}
.main-content h3 {
    color: var(--menu-svg);
    font-size: 16px;
}
.main-content li, .main-content ul {
    font-size: 14px;
    list-style: none;
    margin-left: 5px;
    padding-left: 0px;
    line-height: 20px;
}
.main-content li:before {
    content: '\2713';
    margin-left:0px;
    color:#007ede;
    margin-right: 5px;
}
.tag-line {
    font-size: 14px;
    color: var(--main-text);
}
.filters-button {
    flex: 1;
    text-align: center;
}

.filters-btn {
    font-family: "Ubuntu", Arial, sans-serif;
    height: 28px;
    background: var(--secondary-bg);
    color: var(--main-text);
    font-size: 14px;
    padding: 5px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px; 
  }
  
  .filters-btn .icon-left {
    width: 14px;
    height: 14px;
    vertical-align: bottom;
    fill: var(--menu-text);
  }



.filters-btn:hover {
    color: white;
}
.filters-btn.active:hover {
    background: var(--menu-svg);
    color: white;
}
.filters-btn.active, .filters-btn.active .icon-left {
    fill: white;
    background: var(--menu-svg);
    color: #ebebeb;
}

.clear-filters {
    display: none;
    background: var(--secondary-bg);
    color: var(--main-text);
    font-size: 14px;
    padding: 5px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    align-items: center;
    margin-left: 5px;
  }
  .clear-filters:hover {
    text-decoration: none;
    color: white;
  }
/* filters wrapper */






  .filters-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
  }
  
  .filter-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    top: 40px;
    top: 110%;
    z-index: 1000;
    background-color: #1f1f1f;
    background-color: #1c1e23;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    width: 320px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    color: #d1d1d1;
  }
  .filter-close {
    align-items: center;
    cursor: pointer;
    display: flex;
    margin-left: auto;
  }
  .filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: bold;
    padding-bottom: 8px;
    border-bottom: 1px solid #2a2a2a;
  }
  
  .close-icon {
    cursor: pointer;
  }
  
  .filter-content {
    max-height: 280px;
    overflow-y: auto;
    padding: 0px;
    text-align: left;
  }
  
  .filter-content h4 {
    color: var(--menu-svg);
    color: var(--menu-text);
    font-size: 15px;
    margin-bottom: 15px;
    margin-top: 6px;
  }
  

  
  .filter-footer {
    display: flex;
    justify-content: space-between;
    align-items:center;
    padding-top: 10px;
    border-top: 1px solid #2a2a2a;
  }
  
  /* Base styles for all buttons and links */
  .filter-footer button,
  .filter-footer a {
    font-family: "Ubuntu", Arial, sans-serif;
    font-size: 14px;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    color: #d1d1d1;
    background-color: var(--secondary-bg, #181818);
    border: 1px solid #2a2a2a;
  }
  
  /* Clear button overrides */
  .filter-footer button.clear {
    background-color: #1c1e23;
    border: none;
    display: none;
  }
  
  /* Hover effects */
  .filter-footer button.clear:hover {
    color: white;
  }
  
  .filter-footer button:hover,
  .filter-footer a:hover {
    color: white;
  }
  
  /* Link-specific overrides */
  .filter-footer a {
    display: none;
    background-color: var(--menu-svg, #2a2a2a);
    color: #ebebeb;
  }
  
  /* checkboxes */

  .filter-group {
    margin-top: 10px;
    margin-bottom: 20px;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    grid-auto-flow: column;
    column-gap: 15px;
    grid-template-rows: repeat(2, auto);
  }
  .filter-group.a {
    grid-template-rows: repeat(3, auto);
  }
  .filter-group input[type="checkbox"] {
    appearance: none; 
    -webkit-appearance: none;
    display: flex;
    align-content: center;
    justify-content: center;
    font-size: 1rem;
    padding: 0.1rem;
    border: 0.15rem solid #007ede;
    border-radius: 0.25rem;
    cursor: pointer;
    margin-right: 10px;
  }
  .filter-group input[type="checkbox"]::before {
    content: "";
    width: .6rem;
    height: .6em;
    clip-path: polygon(0 0, 50% 0, 100% 0, 100% 100%, 50% 100%, 0 100%);
    clip-path: polygon(41% 52%, 26% 35%, 10% 51%, 37% 88%, 37% 88%, 37% 88%, 37% 88%, 37% 88%, 91% 33%, 78% 18%);
    transform: scale(0);
    background-color: var(--menu-svg);
    cursor: pointer;
  }
  .filter-group input[type="checkbox"]:checked::before {
    transform: scale(1.4);
  }

  .filter-group-label {
    display:flex;
    cursor: pointer;
    line-height: 23px;
    font-size: 14px;
    align-content: center;
  }


















  

.cams-info {
    font-size: 14px;
    color: var(--light-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cams-info strong {
    color: var(--gold-accent);
    font-weight: 500;
}

.divider {
    color: var(--menu-svg);
}


/* ======================= */
.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    color: var(--light-gray);
    font-size: 14px;
}
.sort-options select {
    font-family: "Ubuntu", Arial, sans-serif;
    font-size: 12px;
    padding: 5px 30px 5px 10px; 
    border: 1px solid var(--menu-svg);
    background-color: var(--secondary-bg);
    color: var(--light-gray);
    border-radius: 3px;
    outline: none;
    box-shadow: none;
    height: 28px; 
    min-width: 120px;

    /* Removes native styles */
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;
}

/* Dropdown Wrapper for Custom Arrow */
.sort-options .select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}


.sort-options .select-wrapper::after {
    font-size: 12px;
    color: var(--light-gray);
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23d1d1d1" d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}
.sort-options {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options select {
    font-size: 12px;
    padding: 5px;
    border: 1px solid var(--menu-svg);
    background-color: var(--secondary-bg);
    color: var(--light-gray);
    border-radius: 3px;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 30px; 
}



/* Button */
.sort-options button {
    height: 28px; 
    background: var(--menu-svg);
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
.clear_history {
    float: right;
    padding-bottom: 10px;
    padding-top:20px;
}
.clear_history button {
    font-family: "Ubuntu", Arial, sans-serif;
    height: 28px; 
    background: var(--red);
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.sort-options button:hover {
    background: #478bb5;
}




.sort-options button:hover {
    background: var(--menu-svg);
}
/* Pagination Container */
#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0px;
    gap: 5px;
    padding: 20px;
}

#pagination button {
    background: #444;
    border: 1px solid #444;
    color: #ccc;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

#pagination button.active {
    background: var(--menu-svg);
    border-color: var(--menu-svg);
    border: 1px solid #569cd6;
    color: white;
    cursor: default;
}

#pagination button:not(.active):hover {
    background: #555;
    border-color: #555;
}

#pagination button:disabled {
    cursor: default;
}

#pagination .dots {
    color: var(--main-text);
    font-size: 14px;
    font-weight: bold;
    padding: 0 1px;
}

.pagination li {
    list-style: none;
}
.pagination a {
    background: #444;
    border: 1px solid #444;
    color: #ccc;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.pagination a:not(.active):hover {
    text-decoration: none;
    background: #555;
    
}

.pagination a.active {
    background: var(--menu-svg);
    border-color: var(--menu-svg);
    border: 1px solid rgb(86, 156, 214);
    color: white;
    cursor: default;
    pointer-events: none;
}
.pagination a.disabled {
    pointer-events: none;
}

.tag-link, .link-link {
    font-size: 12px;
    font-weight: 400;
    display: inline-block;
    text-decoration: none;
    color: #007ede;
    padding: 4px 6px;
    margin-right: 4px;
    line-height:12px;
    margin-bottom: 3px;
    border: 1px solid #007ede;
    border-radius: 4px;
}
.link-link {
    padding-left: 0px;
    padding-right: 12px;
    border: none;
    font-size: 14px;
}
.loading-spinner {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 70px;
    height: 70px;
    margin: -25px 0 0 -25px; 
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--menu-svg);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1; 
}
.current a {
    color: var(--menu-text);
}
.attribute {
    color: var(--menu-svg);
    margin: 2px 0px;
    line-height: 23px; 
    display: flex;
}
.bio .attribute .label {
  font-size: 14px;
  display: inline-block;
}
.label {
  line-height: 23px; 
  font-weight: 500;
  width: 145px; 
  min-width: 145px;
}
.label .data {
  display: inline-block;
}
.data {
  color: #d1d1d1;
  overflow: hidden;
  font-weight: 400;
}

.bio-container {
    font-size: 14px;
    color: #d1d1d1;
    border: 1px solid var(--border-color);
    border-top: 0px;
    padding: 10px;
    border-radius: 0px 0px 4px 4px;
    margin: 0px;
  }
.tabs {
    margin-top: 20px;
    font-weight: 500;
    margin-bottom: 0;
    display: flex;
}
.tabs button {
    font-family: "Ubuntu", Arial, sans-serif;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    color: var(--main-text);
    font-size: 14px;
    padding: 5px;
    font-weight: 500 !important;
    font-weight: bolder;
    border-radius: 4px 4px 0px 0px;
    padding: 6px 10px;
    margin: 0px;
    cursor: pointer;
}
.tabs button.active, .tabs button:hover {
    border-bottom: 1px solid #16181C;
    color: var(--menu-text);
    background: #16181C;
}
.tabs span.ext {
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-grow: 1;
}
.tabs span.gap {
    border-bottom: 1px solid var(--border-color);
    display: flex;
    width: 3px;
}
.create-account {
    display: inline-block;
}
.left-side {
    transition: transform 0.3s ease;
    z-index: 1002;
  }
/* ROULETTE */
.roulette-container {
    padding: 0px;
    max-width: 600px;
}
.roulette-container h1 {
    color: var(--menu-text);
    font-size: 24px;
    margin-bottom: 10px;
}
.roulette-container p {
    color: var(--light-gray);
    font-size: 16px;
    line-height: 1.4;
}
.start-button {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    color: #ebebeb;
    background: var(--menu-svg);
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
}
.start-button:hover {
    color: white;
}
.disclaimer {
    font-size: 12px;
    color: var(--card-text);
    margin-top: 15px;
}
.disclaimer a {
    color: var(--menu-text);
    text-decoration: underline;
}
.how-it-works {
    text-align: left;
    max-width: 650px;
    color: var(--main-text);
    margin-bottom: 40px;
}
.how-it-works a {
    color: #007ede;
}
.how-it-works h2 {
    color: var(--menu-text);
    font-size: 22px;
    margin-bottom: 10px;
}
.how-it-works ul {
    list-style-type: none;
    padding: 0;
}
.how-it-works li {
    color: var(--main-text);
    font-size: 16px;
    margin: 8px 0;
    padding-left: 0px;
    position: relative;
}
.how-it-works li::before {
    content: "✔"; 
    content: '\2713';
    position: relative;
    left: 0;
    top: 0;
    /* color: var(--menu-svg); */
    color: #007ede;
    font-size: 18px;
    font-weight: bold;
    margin-right: 8px;
}
.r-btns {
    text-align:center;
    padding:10px;
}

.start-button:active,
.prev-btn:active,
.next-btn:active {
    transform: translateY(1px);
}

.current a {
    color: var(--menu-text);
}
  /* Slide-in menu for mobile */
  .left-side.mobile-active {
    display: block !important;
    position: fixed;
    top: 0px;
    left: 0;
    height: 100%;
    width: 220px;
    background-color: var(--primary-bg);
    transform: translateX(0);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.4);
  }
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
  }
  
  .mobile-overlay.active {
    display: block;
  }
/* Profile */
.signup-btn {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center;
}
.signup-btn a {
    font-size: 14px;
    display:block;
    color: #ebebeb;
    border-radius:4px;
    background-color: #007ede;
    text-decoration:none;
    padding: 10px 10px;
    font-weight: 500;
}
.signup-btn a:hover {
    text-decoration: none;
    color: white;
}
.signup-btn a:active {
    transform: translateY(1px);
}
/* comments */
.comments-section {
    background: #16181C;
    border-radius: 10px;
    margin: 0px;
}
.comments-section h2 {
    display:inline-block;
    color: var(--menu-text);
    font-size: 16px;
    text-align: left;
    margin: 5px 0px;
}
.comments-section h3 {
    margin: 10px 0px 5px 0px;
}
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 600px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-weight: 400;
    color: var(--main-text);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: #242424;
    color: white;
}

.btn-submit {
    background: var(--menu-svg);
    color: #ebebeb;
    font-weight: bold;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}
.btn-submit:hover {
    color: white;
}
.comments-list {
    margin-top: 5px;
    max-width: 600px;
}
.comment {
    background: #242424;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    border-left: 3px solid var(--menu-svg);
}
.comment-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--light-gray);
}
.comment-header strong {
    color: var(--menu-svg);
}
.comment-date {
    font-size: 12px;
    color: #ccc;
}
.comment-body {
    margin-top: 5px;
    color: var(--main-text);
    font-size: 14px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none !important; 
    box-shadow: none !important; 
    border: 1px solid var(--border-color) !important;
    background-color: #2a2a2a !important; 
}
.form-group textarea {
    resize: vertical; 
}
.flag-comment img {
    width: 16px; 
    height: 12px; 
    border-radius: 2px; 
    display: inline-block;
    position: relative;
    top: 1px;
    margin-right: 5px;
}
.related_cams h2 {
    color: var(--menu-text);
    text-align: center;
    margin-bottom: 5px;
}
.cfa {
    color: var(--red);
    margin-left: 4px;
}
.tooltip-label {
    height: 45px;
    margin-top: 0px; 
    font-size: 14px; 
    line-height: 21px;
    font-weight: 500; 
    color: #009900; 
    text-align: center; 
    display: flex; 
    flex-direction: column;  
    align-items: center; 
    white-space: pre-line;
}
.based {
    line-height:12px;
    margin:0px;
    padding:0px;
    font-size:12px;
    text-align:center;
    color:#8F8F8F;
    font-weight:400;
}
.timezone-label {
    margin:0px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #007ede;
    text-align: center;
}
.cam-label {
    color: #d1d1d1;
}
.tag-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1250px;
    width: 100%;
    margin-bottom: 20px;
}

.tag-column {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tag-item {
    display: flex;
    font-size: 14px;
    align-items: center;
    /* text-transform: capitalize; */
    line-height: 1;
}
.tag-item img {
    width: 32px;
    height: 24px;
    margin-right: 5px;
    border-radius: 2px;
    position: relative;
    top: -1px;
}

.tag-link:hover {
    text-decoration: underline;
}

.tag-count {
    font-size: 12px;
    font-weight: 500;
    color: var(--main-text);
    margin-left: 4px;
    line-height: 1;
    position: relative;
    top: -1px;
}
.search-container {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 15px;
    max-width: 1250px;
}
.search-container input {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid var(--menu-svg);
    background: var(--secondary-bg);
    color: white;
    border-radius: 4px;
    outline: none;
}
.search-container input::placeholder {
    color: var(--light-gray);
}
.search-container button {
    padding: 8px 12px;
    background: var(--menu-svg);
    color: #ebebeb;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    min-width: 150px;
    border: 1px solid var(--menu-svg);
}
.search-container button:hover {
    background: var(--menu-svg);
    color: white;
}
.search-container button:active {
    transform: translateY(1px); 
}
.tags-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--main-text);
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@media (max-width: 850px) {
    .search-box {
        height: 40px;
        position: relative;
        padding-left: 5px;
        right: 0px;
        width: 100%; /* Adjust width */
        opacity: 1;
        position: relative;
        right: 0px;
    }
    .search-box.active .search-input {
        width: 100%; 
        opacity: 1;
        position: relative;
        right: 0px;
    }
    .search-input {
        width: 100%; 
        opacity: 1;
        position: relative;
        right: 0px;
    }

    .online-cams-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .sort-options {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .sort-options select {
        flex: 1;
        min-width: 120px;
    }

    .create-account {
        display: none !important;
    }

    .container {
        display: flex;
        justify-content: center; 
        align-items: center;
        position: relative;
    }
    .logo {
        text-align: center;
        flex-grow: 1;
    }

    .login {
        position: absolute;
        right: 0px; 
        top: 50%;
        transform: translateY(-50%);
        white-space: nowrap; 
    }
    .t-menu {
        position: absolute;
        top: 8px;
        left: 10px;
    }
    header {
        padding-left: 0px;
    }
    .filter-dropdown {
        display:none;
    }
    
}
@media (max-width: 768px) {
    .filter-dropdown {
        flex-direction: column;
        box-shadow: none;
        margin: 0px;
        margin: 0px;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0%;
        left: 0%;
        bottom: 0%;
      }
      .filter-content {
        display:flex;
        flex-direction: column;
        max-height: none;
        flex: 1 1 auto;
        overflow-y: auto;
        padding-bottom: 10px;
        margin-bottom: 60px;
      }
    
      .filter-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px;
        background-color: #1c1e23;
        border-top: 1px solid var(--border-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1001;
      }
    
      .filter-footer button,
      .filter-footer a {
        padding: 6px 10px;
        font-size: 14px;
      }
      
}
@media all and (max-width: 975px) {
    .left-side {
        transform: translateX(-100%);
        position: fixed;
        top: 0px;
        left: 0;
        height: 100%;
        width: 220px;
        background-color: var(--primary-bg);
        overflow-y: auto;
      }
    .logo img {
        height:36px;
        width:auto;
    }
    .t-menu {
        display: block;
    }
}
@media all and (max-width: 1024px) {
    .i-box {
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }
}
@media (max-width: 650px) { 
    .cam-container {
        grid-template-columns: repeat(2, 1fr); 
    }
    .right-side {
        padding: 0px;
    }
    .padding, .cams-padding {
        padding: 5px
    }
    .i-stream {
        padding: 0px;
    }
    
}