/* Camera Card Component Styles */
/* From Uiverse.io by Smit-Prajapati */

.camera-card-container {
    text-align: center;
    margin: 2rem 0;
}

/* Mobile spacing reduction - reduce by 80% */
@media (max-width: 768px) {
    .camera-card-container {
        margin: 0.4rem 0; /* 2rem * 0.2 = 0.4rem (6.4px) */
    }
}

.camera-card-title {
    color: white;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.parent {
    width: 280px;
    height: 300px;
    perspective: 1000px;
    margin: 0 auto;
    overflow: visible;
}

.card {
    height: 100%;
    border-radius: 50px;
    background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=400&q=80') center/cover no-repeat;
    transition: all 0.5s ease-in-out;
    transform-style: preserve-3d;
    box-shadow: rgba(5, 71, 17, 0.05) 40px 50px 25px -40px, rgba(5, 71, 17, 0.2) 0px 25px 25px -5px;
    overflow: visible;
}

.glass {
    transform-style: preserve-3d;
    position: absolute;
    inset: 8px;
    border-radius: 55px;
    border-top-right-radius: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    /* -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px); */
    transform: translate3d(0px, 0px, 25px);
    border-left: 1px solid white;
    border-bottom: 1px solid white;
    transition: all 0.5s ease-in-out;
}

.content {
    padding: 100px 60px 0px 30px;
    transform: translate3d(0, 0, 26px);
}

.content .title {
    display: block;
    color: #ffffff;
    font-weight: 900;
    font-size: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.content .text {
    display: block;
    color: rgb(255, 255, 255);
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.bottom {
    padding: 10px 12px;
    transform-style: preserve-3d;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translate3d(0, 0, 26px);
}

.bottom .view-more {
    display: flex;
    align-items: center;
    width: 40%;
    justify-content: flex-end;
    transition: all 0.2s ease-in-out;
}

.bottom .view-more:hover {
    transform: translate3d(0, 0, 10px);
}

.bottom .view-more .view-more-button {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: bolder;
    font-size: 12px;
}

.bottom .view-more .svg {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3px;
    max-height: 15px;
}

.bottom .social-buttons-container {
    display: flex;
    gap: 10px;
    transform-style: preserve-3d;
}

.bottom .social-buttons-container .social-button {
    width: 30px;
    aspect-ratio: 1;
    padding: 5px;
    background: rgb(0, 0, 0);
    border-radius: 50%;
    border: none;
    display: grid;
    place-content: center;
    box-shadow: rgba(5, 71, 17, 0.5) 0px 7px 5px -5px;
}

.bottom .social-buttons-container .social-button:first-child {
    transition: transform 0.2s ease-in-out 0.4s, box-shadow 0.2s ease-in-out 0.4s;
}

.bottom .social-buttons-container .social-button:nth-child(2) {
    transition: transform 0.2s ease-in-out 0.6s, box-shadow 0.2s ease-in-out 0.6s;
}

.bottom .social-buttons-container .social-button:nth-child(3) {
    transition: transform 0.2s ease-in-out 0.8s, box-shadow 0.2s ease-in-out 0.8s;
}

.bottom .social-buttons-container .social-button .svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
}

.bottom .social-buttons-container .social-button:hover {
    background: black;
}

.bottom .social-buttons-container .social-button:hover .svg {
    fill: none;
    stroke: currentColor;
}

.bottom .social-buttons-container .social-button:active {
    background: rgb(255, 234, 0);
}

.bottom .social-buttons-container .social-button:active .svg {
    fill: black;
}

/* Liked state styling */
.social-button.liked .svg {
    fill: #ff4757 !important;
    stroke: #ff4757 !important;
}

/* Hover effects for like button */
.social-button:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.social-button.liked:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.logo {
    position: absolute;
    right: 0;
    top: 0;
    transform-style: preserve-3d;
}

.logo .circle {
    display: block;
    position: absolute;
    aspect-ratio: 1;
    border-radius: 50%;
    top: 0;
    right: 0;
    box-shadow: rgba(100, 100, 111, 0.2) -10px 10px 20px 0px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background: rgba(0, 249, 203, 0);
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    box-sizing: border-box;
}

.logo .circle1 {
    width: 170px;
    transform: translate3d(0, 0, 20px);
    top: 8px;
    right: 8px;
}

.logo .circle2 {
    width: 140px;
    transform: translate3d(0, 0, 40px);
    top: 10px;
    right: 10px;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    transition-delay: 0.4s;
}

.logo .circle3 {
    width: 110px;
    transform: translate3d(0, 0, 60px);
    top: 17px;
    right: 17px;
    transition-delay: 0.8s;
}

.logo .circle4 {
    width: 80px;
    transform: translate3d(0, 0, 80px);
    top: 23px;
    right: 23px;
    transition-delay: 1.2s;
}

.logo .circle5 {
    width: 50px;
    height: 50px;
    transform: translate3d(0, 0, 100px);
    top: 30px;
    right: 30px;
    display: block;
    position: relative;
    transition-delay: 1.6s;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.logo .circle5 .svg {
    width: 20px;
    fill: white;
}

/* Ensure profile images are perfectly circular */
.logo .circle5 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    clip-path: circle(50% at 50% 50%) !important;
    transform: none !important;
}

/* Force circular shape on all images in circle containers */
.logo .circle img,
.logo .circle5 img,
.circle img {
    border-radius: 50% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    clip-path: circle(50% at 50% 50%) !important;
    transform: none !important;
}

.parent:hover .card {
    transform: rotate3d(1, 1, 0, 30deg);
    box-shadow: rgba(5, 71, 17, 0.3) 30px 50px 25px -40px, rgba(5, 71, 17, 0.1) 0px 25px 30px 0px;
}

.parent:hover .card .bottom .social-buttons-container .social-button {
    transform: translate3d(0, 0, 50px);
    box-shadow: rgba(5, 71, 17, 0.2) -5px 20px 10px 0px;
}

.parent:hover .card .logo .circle2 {
    transform: translate3d(0, 0, 60px);
}

.parent:hover .card .logo .circle3 {
    transform: translate3d(0, 0, 80px);
}

.parent:hover .card .logo .circle4 {
    transform: translate3d(0, 0, 100px);
}

.parent:hover .card .logo .circle5 {
    transform: translate3d(0, 0, 120px);
}

/* Responsive adjustments for camera card */
@media (max-width: 768px) {
    .camera-card-title {
        font-size: 2rem;
    }
    
    .parent {
        width: 260px;
        height: 270px;
    }
}

@media (max-width: 480px) {
    .camera-card-title {
        font-size: 1.8rem;
    }
    
    .parent {
        width: 240px;
        height: 250px;
    }
    
    .content {
        padding: 80px 50px 0px 25px;
    }
    
    .content .title {
        font-size: 18px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.9);
    }
    
    .content .text {
        font-size: 13px;
        font-weight: 600;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.9);
    }
} 

/* Like Count Badge Styles */
.social-button {
    position: relative;
}

.like-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: transparent;
    color: rgb(255, 255, 255);
    border-radius: 0;
    min-width: auto;
    height: auto;
    display: block;
    align-items: unset;
    justify-content: unset;
    font-size: 11px;
    font-weight: 900;
    border: none;
    box-shadow: none;
    z-index: 100;
    padding: 0;
    line-height: 1;
    white-space: nowrap;
    transition: none;
    overflow: visible;
    backdrop-filter: none;
    width: auto !important;
    max-width: none !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.like-count-badge:empty {
    display: none;
}

/* Hide badge when count is 0 */
.like-count-badge[data-count="0"],
.like-count-badge:contains("0") {
    display: none;
}

/* Responsive badge sizing for different content lengths */
.like-count-badge:not([data-count="0"]) {
    width: auto;
    max-width: none;
    transition: all 0.3s ease-in-out;
}

/* Animation for badge size changes */
.like-count-badge.size-changing {
    transform: none;
    transition: none;
}

/* Ensure badge is always visible and not clipped */
.social-button {
    position: relative;
    overflow: visible;
}

/* Additional positioning adjustments for better visibility */
.like-count-badge[data-count*="2"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="3"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="4"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="5"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="6"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="7"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="8"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="9"]:not([data-count*="k"]):not([data-count*="m"]) {
    min-width: auto;
    max-width: none;
}

/* Hover effects for better visibility */
.like-count-badge:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

/* Force badge to expand to content width */
.like-count-badge {
    width: fit-content !important;
    min-width: fit-content !important;
    max-width: fit-content !important;
}

/* Specific rule for numbers like 200 */
.like-count-badge[data-count*="200"],
.like-count-badge[data-count*="100"],
.like-count-badge[data-count*="300"],
.like-count-badge[data-count*="400"],
.like-count-badge[data-count*="500"],
.like-count-badge[data-count*="600"],
.like-count-badge[data-count*="700"],
.like-count-badge[data-count*="800"],
.like-count-badge[data-count*="900"] {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    padding: 0 !important;
}

/* Ensure badge maintains good proportions for different text lengths */
.like-count-badge[data-count*="k"],
.like-count-badge.like-count-thousands {
    font-size: 10px;
    padding: 0;
    max-width: none;
}

/* Handle millions (M) values */
.like-count-badge[data-count*="m"],
.like-count-badge.like-count-millions {
    font-size: 8px;
    padding: 0;
    max-width: none;
}

/* Handle single digit numbers */
.like-count-badge[data-count]:not([data-count*="k"]):not([data-count*="m"]):not([data-count*="0"]),
.like-count-badge.like-count-singles {
    min-width: auto;
    max-width: none;
}

/* Handle double digit numbers */
.like-count-badge[data-count*="1"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="2"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="3"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="4"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="5"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="6"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="7"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="8"]:not([data-count*="k"]):not([data-count*="m"]),
.like-count-badge[data-count*="9"]:not([data-count*="k"]):not([data-count*="m"]) {
    min-width: auto;
    max-width: none;
}

/* ----------------------------- */
/* Scoped layout for camera grid */
/* ----------------------------- */

.camera-card-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.camera-cards-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Filter Bar */
.camera-card-section .camera-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
    padding: 6px 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.camera-card-section .camera-filter-dropdown {
    border-radius: 12px;
    border: 1px solid #08e260;
    padding: 6px 12px;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    outline: none;
    min-width: 120px;
    flex-shrink: 0;
}

.camera-card-section .camera-type-filters {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0;
    flex: 1;
    min-width: 0;
    position: relative;
}

.camera-card-section .camera-type-btn {
    border-radius: 12px;
    border: 1px solid #08e260;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.camera-card-section .camera-type-btn.active,
.camera-card-section .camera-type-btn:hover {
    background: linear-gradient(45deg, #00ffd6, #08e260);
    color: #222;
    border-color: #00ffd6;
}

/* Cards Grid */
.camera-cards-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 0;
    padding-right: 20px;
}

/* Remove outer margins inside grid */
.camera-cards-list .camera-card-container {
    margin: 0;
}

@media (max-width: 1024px) {
    .camera-cards-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding-right: 15px;
    }
}

@media (max-width: 600px) {
    .camera-cards-list {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-right: 10px;
    }
}

@media (max-width: 480px) {
    .camera-card-section {
        padding: 20px 8px;
    }
    .camera-cards-wrapper {
        padding: 0 8px;
    }
    .camera-card-section .camera-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 8px 0;
    }
    .camera-card-section .camera-type-btn {
        font-size: 0.75rem;
        padding: 3px 8px;
        border-radius: 10px;
    }
} 

/* Scoped badge and icon styles for camera cards */
.camera-card-section .card-views {
    position: absolute;
    top: 12px;
    left: 16px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    padding: 3px 10px 3px 6px;
    z-index: 2;
}

.camera-card-section .eye-icon {
    width: 20px;
    height: 20px;
    color: #fff;
    margin-right: 4px;
}

.camera-card-section .views-count {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

.camera-card-section .card-location {
    position: absolute;
    top: 12px;
    right: 16px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    padding: 3px 10px 3px 6px;
    z-index: 2;
    max-width: 150px;
}

.camera-card-section .location-icon {
    width: 18px;
    height: 18px;
    color: #fff;
    margin-right: 4px;
    flex-shrink: 0;
}

.camera-card-section .location-text {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Social icon colors */
.camera-card-section .social-like .svg { color: #ff4d6d; }
.camera-card-section .social-ticket .svg { color: #08e260; }
.camera-card-section .social-share .svg { color: #45b7d1; }

/* -------------------------------- */
/* Side Menu Styles (ported from home)
/* -------------------------------- */
.side-menu {
	position: fixed;
	top: 60px; /* start below top navbar */
	right: 0;
	width: 56px;
	height: calc(100vh - 60px);
	background: rgba(15, 15, 35, 0.3);
	backdrop-filter: none;
	border-left: 1px solid rgba(255, 255, 255, 0.05);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 16px 0 16px 0;
	z-index: 1000;
	transition: all 0.3s ease;
	border-radius: 24px 0 0 24px; /* curvy edge */
	overflow: hidden; /* clip inner fades to radius */
}

/* Reveal panel styling on hover */
.side-menu:hover {
	background: rgba(15, 15, 35, 0.8);
	border-left: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Subtle top fade at new top edge */
.side-menu::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 24px;
	background: linear-gradient(to bottom, rgba(15,15,35,0.0), rgba(15,15,35,0.25));
	pointer-events: none;
	transition: opacity 0.3s ease;
	opacity: 0; /* hidden until hover */
}

.side-menu:hover::before { opacity: 1; }

.menu-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.1);
	cursor: pointer;
	margin: 8px 0;
	border-radius: 50%;
	transition: all 0.3s ease;
	color: #fff;
	backdrop-filter: blur(5px);
}

.menu-icon {
	width: 18px;
	height: 18px;
	transition: all 0.3s ease;
}

.menu-tooltip {
	position: absolute;
	right: 50px;
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s ease;
}

.menu-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid rgba(0, 0, 0, 0.8);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.menu-item:hover .menu-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.menu-item:hover .menu-tooltip {
    opacity: 1;
    transform: translateX(-5px);
}

.menu-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ffd6, #08e260, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.menu-item:hover::after {
    opacity: 1;
    animation: gradientShift 2s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Logo/Brand */
.brand {
    margin-bottom: 30px;
    padding: 10px;
    transition: all 0.3s ease;
}

.brand:hover { transform: scale(1.1); }

.brand-icon { width: 36px; height: 36px; object-fit: contain; }

/* Responsive tweaks for side menu */
@media (max-width: 768px) {
    .side-menu {
        width: 50px;
        height: auto;
        min-height: auto;
        max-height: 80vh;
        flex-direction: column;
        justify-content: flex-start;
        padding: 15px 0;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px 0 0 20px;
        margin: 20px 0;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(15, 15, 35, 0.8); /* on mobile keep visible */
        backdrop-filter: blur(10px);
    }

    .menu-item { width: 40px; height: 40px; margin: 8px 0; }
    .menu-icon { width: 20px; height: 20px; }
    .menu-tooltip { right: 50px; font-size: 11px; padding: 6px 10px; }
}

@media (max-width: 480px) {
    .side-menu {
        width: 45px;
        padding: 10px 0;
        border-radius: 15px 0 0 15px;
        margin: 15px 0;
    }
    .menu-item { width: 35px; height: 35px; margin: 6px 0; }
    .menu-icon { width: 18px; height: 18px; }
    .menu-tooltip { right: 45px; font-size: 10px; padding: 5px 8px; }
}

@media (max-width: 360px) {
    .side-menu { width: 40px; padding: 8px 0; border-radius: 12px 0 0 12px; margin: 12px 0; }
    .menu-item { width: 32px; height: 32px; margin: 5px 0; }
    .menu-icon { width: 16px; height: 16px; }
    .menu-tooltip { right: 40px; font-size: 9px; padding: 4px 6px; }
}

/* -------------------------------- */
/* Theme Modal Styles (ported)      */
/* -------------------------------- */
.theme-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-modal.show { display: flex; opacity: 1; }

.theme-modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.theme-modal h2 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
}

.theme-modal-buttons { display: flex; gap: 15px; justify-content: center; }

.theme-btn { padding: 12px 24px; border: none; border-radius: 10px; cursor: pointer; font-weight: 500; transition: all 0.3s ease; font-size: 14px; }
.theme-btn.primary { background: linear-gradient(135deg, #00ffd6, #08e260); color: #000; }
.theme-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 255, 214, 0.4); }
.theme-btn.secondary { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.theme-btn.secondary:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); } 

/* Sidebar hidden state and toggle button */
.side-menu.hidden {
	transform: translateX(100%);
	opacity: 0;
	pointer-events: none;
}

.side-menu {
	transform: translateX(0);
	opacity: 1;
	transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.side-menu-toggle {
	position: fixed;
	top: 80px; /* aligned below navbar */
	right: 8px;
	width: 28px;
	height: 44px;
	border-radius: 8px 0 0 8px;
	border: 1px solid rgba(255,255,255,0.15);
	background: rgba(15,15,35,0.35);
	backdrop-filter: blur(6px);
	color: #fff;
	display: none; /* only show when sidebar hidden */
	align-items: center;
	justify-content: center;
	z-index: 999;
	cursor: pointer;
	transition: all 0.2s ease;
}

.side-menu-toggle:hover {
	background: rgba(15,15,35,0.6);
	border-color: rgba(255,255,255,0.25);
}

.side-menu.hidden + .side-menu-toggle {
	display: inline-flex;
}

/* Ensure toggle stays visible on narrow screens */
@media (max-width: 768px) {
	.side-menu-toggle { top: 70px; right: 6px; width: 26px; height: 40px; }
}
@media (max-width: 480px) {
	.side-menu-toggle { top: 65px; right: 4px; width: 24px; height: 36px; }
} 

/* Tabs (nav-pills) styling to match standalone menu */
.tab-class {
	margin-top: 16px;
}

.tab-class .nav {
	padding: 6px 10px;
}

.tab-class .nav-pills .nav-link {
	border-radius: 50rem;
	padding: 6px 14px;
	margin: 0 4px;
	text-decoration: none;
	transition: all 0.25s ease;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.12);
	opacity: 0.9;
}

.tab-class .nav-pills .nav-link:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
	opacity: 1;
}

.tab-class .nav-pills .nav-link.active {
	background: linear-gradient(135deg, #00ffd6, #08e260);
	color: #0d0f1a;
	border-color: transparent;
}

.tab-class .tab-content {
	margin-top: 8px;
}

/* Ensure tab contents don’t break camera grid */
.tab-class .tab-pane .camera-cards-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

@media (max-width: 992px) {
	.tab-class .tab-pane .camera-cards-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 576px) {
	.tab-class .tab-pane .camera-cards-list {
		grid-template-columns: 1fr;
	}
} 

/* Mobile right sidebar centering fix */
@media (max-width: 768px) {
	.side-menu {
		top: 50% !important;
		transform: translateY(-50%) !important;
		height: auto !important;
		max-height: 80vh !important;
	}
}

@media (max-width: 480px) {
	.side-menu {
		top: 50% !important;
		transform: translateY(-50%) !important;
	}
} 

@media (max-width: 768px) {
	.side-menu-toggle { display: none !important; }
	.side-menu.hidden { transform: translateX(0) !important; opacity: 1 !important; pointer-events: auto !important; }
} 