/* == Font Faces == */
@font-face {
	font-family: 'Rubik';
	src: url('/Fonts/Rubik/static/Rubik-Regular.ttf') format('woff2');
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: 'Exo';
	src: url('/Fonts/Exo/static/Exo2-Regular.ttf') format('woff2');
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: 'Cairo';
	src: url('/Fonts/Cairo/static/Cairo-Regular.ttf') format('woff2');
	font-weight: 400;
	font-style: normal;
}

/* == ROOTS == */
:root {
	--bg-primary: #edf2f4;
	--tx-primary: #000;
    --tx-ag-blur: #333;

    --whites: #fff;
    --ag-whites: #fff;

	--blur: #00000040;
	--ag-blur: #ffffff59;

	--emerald: #2fbf71ff;
	--our-blue-lighted: #bfddffff;
	--our-blue: #3395ffff;

    --tp-head: #2d3748;
    --tp-username: #718096;
    --tp-number: #2d3748;
    --tp-lable: #a0aec0;

	--fill-blur: 12px;
}
/* ------------------------------------- */
/* 1. Base Reset                        */
/* ------------------------------------- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	width: 100%;
	min-height: 100vh;
	background-color: var(--bg-primary);
	overflow-x: hidden;
}

.w {
	width: 100%;
}

/* ------------------------------------- */
/* 2. Flex and Grid Layouts             */
/* ------------------------------------- */
.off { display: none !important; }                  /* .off → display: none */

.flex { display: flex; }                            /* .flex → display: flex */
.row  { flex-direction: row; }
.col  { flex-direction: column; }
.wrap { flex-wrap: wrap; }
.grid { display: grid; }

/* == Alignment == */
.a-center  { align-items: center; }
.a-start   { align-items: flex-start; }
.a-end     { align-items: flex-end; }
.j-center  { justify-content: center; }
.j-start   { justify-content: flex-start; }
.j-end     { justify-content: flex-end; }
.j-between { justify-content: space-between; }
.j-around  { justify-content: space-around; }
.j-evenly  { justify-content: space-evenly; }
.center    { align-items: center; justify-content: center; }

.gap {
	gap: 10px; /* Default gap */
}

/* ------------------------------------- */
/* 3. Typography                        */
/* ------------------------------------- */
.title {
	font-family: 'Rubik', 'Exo', 'Cairo';
	font-weight: 700;
	font-size: 52px;
	color: var(--tx-primary);
	transition: 0.2s linear;
}
.align {
	font-family: 'Exo', 'Rubik', 'Cairo';
	font-weight: 700;
	font-size: 32px;
	color: var(--tx-primary);
	transition: 0.2s linear;
}
.text, .text-1, .text-2 {
	font-family: 'Rubik', 'Exo', 'Cairo';
	font-weight: 100;
	color: var(--tx-primary);
	transition: 0.2s linear;
}
.text   { font-size: 22px; }
.text-1 { font-size: 16px; }
.text-2 { font-size: 26px; }

.links {
	text-decoration: none;
	font-family: 'Cairo', 'Exo', 'Rubik';
	font-weight: 900;
	font-size: 22px;
	color: var(--tx-primary);
	transition: 0.2s linear;
}
.links:hover {
	text-decoration: solid;
}


.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tooltip base */
.tooltip {
  position: fixed;
  padding: 6px 10px;
  font-size: 18px;
  background: var(--ag-blur);
  backdrop-filter: blur(var(--fill-blur));
  color: var(--tx-ag-blur);
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 99;
  white-space: nowrap;
}
/* Tooltip visible */
.tooltip.show {
  opacity: 1;
  transform: scale(1);
}
/* ------------------------------------- */
/* 4. The Main Architcure                */
/* ------------------------------------- */
/* Menu Options */
/* First Aside */
.first-aside {
    grid-area: sidebar;
    width: 100%;
    height: 100vh;
    padding: 20px;
}

.user-box {
    width: 100%;
    height: 120px;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 7px 20px #1234564b
}

.user-img {
    width: 90px;
    height: 90px;
    max-width: 90px;
    max-height: 90px;
    min-width: 90px;
    min-height: 90px;
}

#user-name {
    font-size: clamp(18px, 2vw, 24px);
}
#username {
    font-size: clamp(16px, 1.8vw, 22px);
    opacity: 0.6;
}

/* Profile one */
.menu-list {
    width: 100%;
    padding: 20px;
}
.menu-btn {
    width: 100%;
    padding: 10px;
    font-size: 26px;
    background-color: transparent;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}
.menu-btn:hover {
    color: var(--our-blue);
}
.menu-btn svg {
    width: 30px;
    color: var(--tx-primary);
}
.menu-btn .text {
    font-size: clamp(20px, 2.2vw, 28px);
}
.menu-btn.active svg {
    color: var(--our-blue);
    box-shadow: 0 7px 30px #12345628;
}

.settings-btn {
    max-width: 310px;
    margin-top: auto;
    border-radius: 15px;
    transition: 0.1s 0s ease-in-out;
}

/* Horizontal Line */
.hr-h {
	width: 100%;
	border: 3px var(--blur) solid;
	border-radius: 15px;
}

/* ------------------------------------- */
/* Suggestions */
.suggestions {
    grid-area: suggestions;
    width: 100%;
    height: 280px;
    padding: 20px;
}

.suggestion-box {
    width: 100%;
    height: 80px;
    position: relative;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 7px 20px #1234564b;
}
.suggestion-img {
    width: 65px;
    min-width: 65px;
    height: 65px;
}
.suggestion-box .text {
    font-size: clamp(16px, 2.5vw, 20px);
    width: calc(100% - 140px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* ------------------------------------- */
/* FEEEEEDY */
.feed-it {
    width: 90%;
    min-width: 320px;
    max-width: 600px;
    height: 70px;
    position: relative;
    padding: 10px;
    background-color: var(--ag-blur);
    backdrop-filter: var(--fill-blur);
    border-radius: 15px;
    box-shadow: 0 7px 30px #12345628;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}
.feed-it.active {
    cursor: default;
}
.feed-it-control {
    position: absolute;
    left: 0;
    bottom: -100px;
    padding: 10px;
    transition: bottom 0.3s ease-in-out;
}
.feed-it.active .feed-it-control {
    bottom: 0px;
}
.feed-it .profile-img {
    width: 50px;
    height: 50px;
}
.feed-text-input {
    width: calc(100% - 60px);
    min-height: 20px;
    background-color: transparent;
    resize: none;
    border: none;
    outline: none;
    font-size: inherit;
}
.deactivated { 
    opacity: 0.4; 
    transition: opacity 0.2s ease;
}
.feed-it:hover .deactivated { 
    opacity: 1; 
}
.feed-it:active { 
    scale: 0.95; 
    box-shadow: 0 0 20px #12345628; 
}
.feed-it.active:active {
    scale: 1;
    box-shadow: 0 7px 30px #12345628;
}
.feed-text-input {
    width: calc(100% - 50px);
    min-height: 20px;
    max-height: 80px;
    background-color: transparent;
    resize: none;
    border: none;
    outline: none;
}
.feed-it-media {
    width: 100%;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
}
.feed-it-media img, 
.feed-it-media video {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.feed-it-media img:hover, 
.feed-it-media video:hover {
    transform: scale(1.05);
}

.post-box {
    min-width: 320px;
    width: 100%;
    max-width: 580px;
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 20px;
}
.post-header {
    max-height: 60px;
    overflow: hidden;
}
.post-header button {
    font-size: 16px;
}
.post-user-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}
.post-content {
    width: 100%;
}
/* Enhanced Post Images Section */
.post-media {
    display: grid;
    gap: 2px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}
.post-media img, .post-media video {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.post-media img {
    object-fit: cover;
}
.post-media img:hover {
    opacity: 0.9;
}
/* Overlay for extra images */
.overlay-imgs {
    position: relative;
}
.overlay-imgs::after {
    content: attr(data-extra);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--whites);
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.overlay-imgs:hover::after {
  background-color: rgba(0,0,0,0.55);
}
.post-text {
    margin-top: 10px;
    padding: 15px;
    font-size: 16px;
    background-color: var(--our-blue-lighted);
    backdrop-filter: blur(var(--fill-blur));
    border-radius: 15px;
    line-height: 1.4;
}
.post-footer {
    margin-top: 10px;
}
.post-footer button {
    height: 50px;
    padding: 10px;
    font-size: 16px;
    transition: all 0.2s ease;
}
.post-footer button:hover {
    transform: translateY(-1px);
}
.liked {
    background-color: #3395ff !important;
    color: var(--whites) !important;
}
/* ------------------------------------- */
/* Post Viewer Stylishly */
#postViewer {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    background-color: var(--ag-blur);
    backdrop-filter: blur(var(--fill-blur));
    z-index: 15;
    overflow: hidden;
    box-sizing: border-box;
}
.post-media-view {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.1);
}
.post-media-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.48s cubic-bezier(0.2, 0.8, 0.2, 1);
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.media-item {
    flex: 0 0 min(400px, 70vw);
    height: 100%;
    max-height: calc(100vh - 80px);
    opacity: 0.4;
    transform: scale(0.8);
    transition: transform 0.4s ease, opacity 0.4s ease;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-item img,
.media-item video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}
.media-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}
.carousel-btn {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 22px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}
.carousel-btn.prev { 
    left: 20px; 
}
.carousel-btn.next { 
    right: 20px; 
}

.post-content-view {
    width: 380px;
    min-width: 300px;
    max-width: 380px;
    height: 100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow-y: auto;
}
.post-content-view .post-text {
    font-size: 18px;
    line-height: 1.5;
    word-wrap: break-word;
    flex-shrink: 0;
}
.post-footer {
    flex-shrink: 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.comments {
    flex: 1;
    padding-right: 5px;
}
/* Custom scrollbar for comments */
.comments::-webkit-scrollbar {
    width: 6px;
}
.comments::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.comments::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}
.comments::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
.comment-box {
    position: relative;
    padding: 15px;
    font-size: 14px;
    background-color: rgba(184, 219, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 10px;
    word-wrap: break-word;
}
.comment-user-img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.comment-box .text {
    font-size: 16px;
    line-height: 1.4;
}
.comment-control {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}
.comment-control button {
    width: 35px;
    height: 35px;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--tx-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}
.comment-control button:hover {
    background-color: rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}
.comment-like.active {
    color: var(--our-blue, #007bff);
}

#post-comment {
    flex: 1;
    padding: 12px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #333;
    font-size: 14px;
    outline: none;
    resize: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#post-comment::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
#post-comment:focus {
    border-color: var(--our-blue, #007bff);
    background: rgba(255, 255, 255, 0.15);
}
#enter-comment {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--our-blue, #007bff);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#enter-comment:hover {
    transform: scale(1.05);
    background: var(--our-blue-dark, #0056b3);
}
#enter-comment:active {
    transform: scale(0.95);
}

/* TABLET STYLES (768px - 1024px) */
@media screen and (max-width: 1024px) {
    #postViewer {
        padding: 15px;
    }
    
    #postViewer .flex.row.center {
        height: calc(100vh - 30px);
    }
    
    .post-content-view {
        width: 320px;
        max-width: 320px;
        min-width: 280px;
        padding: 15px;
    }
    
    .media-item {
        flex: 0 0 min(350px, 65vw);
        max-height: calc(100vh - 60px);
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .carousel-btn.prev { 
        left: 15px; 
    }
    
    .carousel-btn.next { 
        right: 15px; 
    }
}

/* MOBILE LANDSCAPE (up to 768px) */
@media screen and (max-width: 768px) {
    #postViewer {
        flex-direction: column;
        padding: 10px;
    }
    
    /* Stack layout for mobile */
    #postViewer .flex.row.center {
        flex-direction: column;
        gap: 15px;
        height: calc(100vh - 20px);
    }
    
    .post-media-view {
        flex: 0 0 60vh;
        width: 100%;
        height: 60vh;
        max-height: 60vh;
    }
    
    .post-content-view {
        flex: 1;
        width: 100%;
        max-width: none;
        min-width: auto;
        height: auto;
        max-height: calc(35vh - 15px);
        padding: 15px;
    }
    
    .media-item {
        flex: 0 0 min(300px, 85vw);
        max-height: 55vh;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-btn.prev { 
        left: 10px; 
    }
    
    .carousel-btn.next { 
        right: 10px; 
    }
    
    .post-content-view .post-text {
        font-size: 16px;
    }
    
    .comment-box {
        padding: 12px;
        min-height: 70px;
    }
    
    .comment-box .text {
        font-size: 15px;
    }
    
    .comment-user-img {
        width: 28px;
        height: 28px;
    }
}

/* MOBILE PORTRAIT (up to 480px) */
@media screen and (max-width: 480px) {
    #postViewer {
        padding: 5px;
    }
    
    #postViewer .flex.row.center {
        height: calc(100vh - 10px);
    }
    
    .post-media-view {
        flex: 0 0 55vh;
        height: 55vh;
        max-height: 55vh;
    }
    
    .post-content-view {
        max-height: calc(40vh - 15px);
        padding: 12px;
        gap: 12px;
    }
    
    .media-item {
        flex: 0 0 min(280px, 90vw);
        max-height: 50vh;
    }
    
    .media-item img,
    .media-item video {
        border-radius: 8px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .post-content-view .post-text {
        font-size: 15px;
    }
    
    .comment-box {
        padding: 10px;
        min-height: 60px;
        border-radius: 10px;
    }
    
    .comment-box .text {
        font-size: 14px;
    }
    
    .comment-user-img {
        width: 26px;
        height: 26px;
    }
    
    .comment-control button {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    #post-comment {
        padding: 10px;
        font-size: 13px;
        border-radius: 20px;
        white-space: nowrap;
        overflow: hidden;
    }
    
    #enter-comment {
        width: 40px;
        height: 40px;
    }
}

/* VERY SMALL SCREENS (up to 360px) */
@media screen and (max-width: 360px) {
    .post-media-view {
        flex: 0 0 50vh;
        height: 50vh;
        max-height: 50vh;
    }
    
    .post-content-view {
        max-height: calc(45vh - 15px);
        padding: 10px;
    }
    
    .media-item {
        flex: 0 0 min(250px, 95vw);
        max-height: 45vh;
    }
    
    .carousel-btn.prev { 
        left: 5px; 
    }
    
    .carousel-btn.next { 
        right: 5px; 
    }
    
    .comment-box {
        padding: 8px;
        min-height: 55px;
    }
    
    .comment-box .text {
        font-size: 13px;
    }
    
    .comment-user-img {
        width: 24px;
        height: 24px;
    }
}

/* LANDSCAPE ORIENTATION ADJUSTMENTS */
@media screen and (max-width: 768px) and (orientation: landscape) {
    #postViewer .flex.row.center {
        flex-direction: row;
        height: calc(100vh - 20px);
    }
    
    .post-media-view {
        flex: 1;
        height: 100%;
        max-height: none;
    }
    
    .post-content-view {
        flex: 0 0 280px;
        width: 280px;
        max-width: 280px;
        height: 100%;
        max-height: none;
    }
    
    .media-item {
        max-height: calc(100vh - 40px);
    }
}

/* HIGH DPI DISPLAYS */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
    .media-item img,
    .media-item video {
        image-rendering: -webkit-optimize-contrast;
    }
}
/* ------------------------------------- */
/* Thunder Island, Where You Can Whistle in */
.thunder-island {
    width: 60px;
    height: 60px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 5;
    padding: 10px;
    transition: all 0.3s ease-in-out;
}

.thunder-island.active {
    width: 330px;
    height: 350px;
    background-color: var(--ag-blur);
    backdrop-filter: blur(var(--fill-blur));
    border-radius: 15px;
    box-shadow: 0 7px 20px #1234564b;
}

.thunder-pop {
    width: 60px;
    height: 60px;
    position: absolute;
    right: 20px;
    bottom: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 20px #12345633;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.thunder-island.active .thunder-pop {
    width: 100%;
    height: fit-content;
    display: block;
    top: 0px;
    left: 0px;
    padding: 10px;
    font-size: 22px;
    border-radius: 0px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    box-shadow: none;
    z-index: 1;
}
.thunder-island .thunder-pop .align {
    display: none;
}
.thunder-island.active .thunder-pop .align {
    display: inline;
    font-size: 22px;
}

.whistlers {
    height: 300px;
    margin-top: 40px;
    padding: 5px;
    overflow: auto;
}
.whistle-box {
    width: 100%;
    height: 60px;
    padding: 5px;
    border-radius: 15px;
    background-color: var(--ag-blur);
    box-shadow: 0 4px 20px #12345633;
    transition: 0.15s ease-in-out;
    cursor: pointer;
}
.whistle-img {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
    height: 50px;
}
#whistle-box-username {
    font-size: 18px;
    font-weight: 600;
    color: var(--tx-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#whistle-box-message {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
}

#whistle-whistling {
    width: 100%;
    height: 300px;
    position: relative;
    margin-top: 40px;
}

.cur-whistle {
    width: 100%;
    padding: 5px;
    border-radius: 10px;
    overflow: hidden;
}
.cur-whistle .text {
    font-size: 19px;
}
#backToList {
    font-size: 16px;
    border-radius: 5px;
    padding: 5px 10px;
}
.cur-whistle-img {
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    height: 35px;
}
.whistle-messages {
    width: 100%;
    height: calc(100% - 110px);
    padding: 10px 5px;
    overflow-y: auto;
}
.whistle-messages::-webkit-scrollbar-track {
    background-color: rgba(255, 0, 0, 0.1);
    border-radius: 3px;
}
.whistle-messages::-webkit-scrollbar-thumb {
    background-color: rgba(255, 0, 0, 0.3);
    border-radius: 3px;
}
.whistle-messages::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 0, 0, 0.5);
}
.whistle-in-live {
    width: 100%;
    margin-bottom: 8px;
}
/* Messages aligned to start (received messages) */
.whistle-in-live.a-start .message {
    background-color: var(--our-blue);
    color: var(--tx-primary);
    border-bottom-left-radius: 5px;
}
/* Messages aligned to end (sent messages) */
.whistle-in-live.a-end .message.sent {
    background-color: var(--our-blue-lighted);
    color: var(--tx-primary);
    border-bottom-left-radius: 5px;
}
.message {
    width: fit-content;
    max-width: 200px;
    min-height: 30px;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 15px;
    word-wrap: break-word;
    line-height: 1.4;
}
.whistle-input {
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 0;
    padding: 5px 10px;
}
#whistleInput {
    width: calc(100% - 60px);
    height: 40px;
    padding: 0 10px;
    background-color: var(--ag-whites);
    box-shadow: 0 4px 20px #12345633;
    border: none;
    border-radius: 15px;
    outline: none;
    font-size: 16px;
    color: var(--tx-primary);
}
.send-btn {
    width: 60px;
    height: 40px;
    background-color: var(--our-blue-lighted);
    color: var(--our-blue);
    font-size: 20px;
    border-radius: 15px;
    border: none;
    outline: none;
    transition: 0.15s ease-in-out;
    cursor: pointer;
}
.send-btn:hover {
    background-color: var(--our-blue-lighted);
}
/* ------------------------------------- */
/* 5. Reusable Shots                     */
/* ------------------------------------- */
/* Hide scrollbars utility */
.hide-scrollbar {
	overflow-y: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.hide-scrollbar::-webkit-scrollbar {
	display: none;
}

/* Blur background utility */
.bg-blur {
	background-color: var(--ag-blur);
	backdrop-filter: blur(var(--fill-blur));
}

/* Profile image container utility */
.profile-img {
	border-radius: 999px;
	overflow: hidden;
}
.profile-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Scale hover utility */
.scale-hover:hover {
	transform: scale(1.05);
}

/* Scale active utility */
.scale-active:active {
	scale: 0.95;
}

/* Button hover active utilities */
.btn-hover:hover {
	background-color: var(--ag-blur);
	backdrop-filter: blur(var(--fill-blur));
}

/* Button */
.one-btn {
	min-height: 40px;
	padding: 10px;
	font-weight: bold;
	font-size: 24px;
	background-color: var(--our-blue-lighted);
	color: var(--our-blue);
	border: none;
	border-radius: 15px;
	cursor: pointer;
	transition: 0.1s 0s ease-in-out;
}
.one-btn:hover {
	background-color: #96cbfd;
}
.one-btn:active {
	scale: 0.95;
}

/* Selector */
.dropdown {
    position: relative;
}
.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 220px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: var(--ag-whites);
    cursor: pointer;
}
.dropdown-menu {
    display: none;
    min-width: 220px;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    padding: 6px 0;
    background-color: var(--ag-blur);
    backdrop-filter: blur(var(--fill-blur));
    border: 1px solid #ccc;
    border-radius: 8px;
}
.dropdown-menu.show {
    display: block;
}
.dropdown-item {
    padding: 10px 14px;
    cursor: pointer;
}
.dropdown-item:hover {
    background-color: var(--whites);
}

/* Input */
.one-input {
    width: 100%;
    min-height: 40px;
    padding: 10px 20px;
    background-color: var(--ag-blur);
    backdrop-filter: blur(var(--fill-blur));
    border: none;
    border-radius: 10px;
    outline: none;
    box-shadow: 0 7px 20px #0f53974b;
}

/* Video */
video {
	outline: none;
}
video::-webkit-media-controls {
	display: none !important;
}
.video-container {
	width: 100%;
	height: 100%;
	position: relative;
    background-color: #00000080;
	overflow: hidden;
}
.video-container video {
	width: 100%;
	height: 100%;
}

/* Video Controls Main Container */
.video-controls {
	width: 90%;
	position: absolute;
	bottom: 10px;
	background-color: var(--ag-blur);
	backdrop-filter: blur(10px);
	border-radius: 12px;
	padding: 10px;
	opacity: 0;
	container-type: inline-size;
	transform: translateY(10px);
	transition: all 0.3s ease;
	pointer-events: all;
}
.video-controls:hover {
	opacity: 1 !important;
	transform: translateY(0) !important;
}

/* Progress Bar */
.v-progress {
	width: 95%;
	height: 6px;
	position: relative;
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
	cursor: pointer;
	transition: height 0.2s ease;
}
.v-progress:hover {
	height: 8px;
	cursor: grab;
}
.v-progress.dragging {
	height: 8px;
	cursor: grabbing;
}
.v-progress::before {
	content: '';
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: var(--progress, 0%);
	background-color: var(--our-blue);
	border-radius: 2px;
	transition: width 0.05s ease;
}
.v-progress.dragging::before {
	transition: none;
}
.v-progress::after {
	content: '';
	width: 12px;
	height: 12px;
	position: absolute;
	top: 50%;
	left: var(--progress, 0%);
	background-color: var(--our-blue);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 0.2s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.v-progress:hover::after,
.v-progress.dragging::after {
	opacity: 1;
}
.v-progress.dragging::after {
	transform: translate(-50%, -50%) scale(1.2);
}

/* Play Button */
.v-ps {
	width: 50px;
	height: 50px;
	padding: 5px;
	font-size: 18px;
	background-color: transparent;
	color: white;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
}
.v-ps:hover {
	background-color: rgba(255, 255, 255, 0.2);
	transform: scale(1.1);
}

/* Back/Forward Controls Container */
.back-forw {
	gap: 2px;
	padding: 5px 10px;
	background-color: var(--ag-blur);
	backdrop-filter: blur(15px);
	border: none;
	border-radius: 15px;
	overflow: hidden;
}

/* Control Buttons inside Back/Forward */
.control-btn {
	background-color: transparent;
	color: white;
	border: none;
	font-size: 14px;
	padding: 6px;
	border-radius: 8px;
	transition: all 0.2s ease;
	cursor: pointer;
	position: relative;
}
.control-btn:hover {
	background-color: rgba(255, 255, 255, 0.2);
	transform: scale(1.05);
}
.control-btn:first-child::after {
	content: '';
	width: 1px;
	height: 16px;
	position: absolute;
	right: -1px;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0.4);
}

/* Volume container */
.v-volume {
    gap: 6px;
	padding: 5px 10px;
	background-color: var(--ag-blur);
	backdrop-filter: blur(15px);
	border: none;
	border-radius: 15px;
	transition: 0.2s ease-in-out;
}
.v-volume button {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}
.v-volume:hover.v-volume input[type="range"] {
	display: block;
}
.v-volume input[type="range"] {
	display: none;
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--our-blue) 50%, #555 50%);
    background-size: 100% 100%;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transition: background 0.2s;
}
.v-volume input[type="range"]:hover {
    background: linear-gradient(to right, var(--our-blue) 50%, #777 50%);
}
.v-volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.v-volume input[type="range"]::-webkit-slider-thumb:hover {
    background: #ccc;
    transform: scale(1.1);
}
.v-volume input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.v-volume input[type="range"]::-moz-range-thumb:hover {
    background: #ccc;
    transform: scale(1.1);
}
.v-volume input[type="range"]::-moz-range-progress {
    background: var(--our-blue);
    height: 4px;
    border-radius: 2px;
}
.v-volume input[type="range"]::-moz-range-track {
    background: #555;
    height: 4px;
    border-radius: 2px;
}

/* Fullscreen Button */
.v-fullscreen {
	width: 50px;
	height: 50px;
	padding: 5px;
	font-size: 18px;
	background-color: transparent;
	color: white;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
}
.v-fullscreen:hover {
	background-color: rgba(255, 255, 255, 0.2);
	transform: scale(1.1);
}

/* Fullscreen specific styles */
.video-container:fullscreen {
	background-color: black;
}
.video-container:fullscreen .video-controls {
	width: 80%;
	bottom: 20px;
}
.video-container:fullscreen video {
	object-fit: contain;
}

@container (max-width: 250px) {
    .back-forw {
        display: none;
    }
	.v-volume {
		display: none;
		padding: 5px;	
	}
	.v-volume input[type="range"] {
		width: 60px;
	}
}
@container (max-width: 180px) {
    .v-volume input[type="range"] {
        display: none;
    }
}
/* ------------------------------------- */
/* Settings */
.sets-modal {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    background-color: var(--ag-blur);
    backdrop-filter: blur(var(--fill-blur));
    z-index: 15;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sets-modal.off {
    opacity: 0;
    visibility: hidden;
}

.sets-box {
    width: 100%;
    max-width: 900px;
    height: calc(100vh - 40px);
    padding: 20px;
    background-color: var(--ag-blur);
    backdrop-filter: blur(var(--fill-blur));
    border-radius: 20px;
    box-shadow: 0 7px 20px #1234564b;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}
.sets-modal:not(.off) .sets-box {
    transform: translateY(0);
}

.setting-item {
    width: 100%;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(18, 52, 86, 0.08);
}
.setting-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 52, 86, 0.12);
}

/* Custom Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s ease;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.switch input:checked + .slider {
    background-color: var(--our-blue);
}
.switch input:checked + .slider:before {
    transform: translateX(22px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
.switch:hover .slider {
    box-shadow: 0 0 10px rgba(51, 149, 255, 0.3);
}
.switch input:checked:hover + .slider {
    background-color: #2d87e6;
}

/* Settings Sidebar */
.settings-aside {
    width: 280px;
    min-width: 280px;
    height: 100%;
}
.nav-btn i {
    font-size: 18px;
    width: 20px;
}
.nav-btn .text {
    font-size: 16px;
    margin: 0;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .sets-modal {
        padding: 10px;
    }
    
    .sets-box {
        max-height: calc(100vh - 20px);
        flex-direction: column;
    }
    
    .settings-sidebar {
        width: 100%;
        min-width: auto;
        height: auto;
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .sets-header {
        margin-bottom: 10px;
    }
    
    .sets-header .align {
        font-size: 22px;
    }
    
    .settings-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 5px;
    }
    
    .nav-btn {
        min-width: 120px;
        padding: 10px 15px;
        text-align: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-btn:hover {
        transform: none;
    }
    
    .nav-btn .text {
        font-size: 14px;
    }
    
    .nav-btn i {
        font-size: 16px;
    }
    
    .settings-content {
        flex: 1;
        height: auto;
        max-height: 60vh;
        padding: 15px;
    }
    
    .setting-item {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
    
    .setting-item .switch {
        align-self: flex-end;
    }
    
    .account-actions .one-btn {
        font-size: 16px;
        min-height: 42px;
        justify-content: center;
    }
    
    .settings-content select.one-input {
        width: 100% !important;
        margin-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .sets-modal {
        padding: 5px;
    }
    
    .sets-box {
        border-radius: 15px;
        max-height: calc(100vh - 10px);
    }
    
    .settings-sidebar {
        padding: 10px;
    }
    
    .close-btn {
        min-height: 35px !important;
        width: 35px !important;
        font-size: 16px;
    }
    
    .nav-btn {
        min-width: 100px;
        padding: 8px 12px;
    }
    
    .nav-btn .text {
        font-size: 12px;
    }
    
    .settings-content {
        padding: 10px;
    }
    
    .setting-item {
        padding: 12px;
    }
    
    .settings-section h3 {
        font-size: 18px;
    }
}