﻿@font-face {
    font-family: 'Great Vibes';
    src: url('/Content/fonts/GreatVibes-Regular.woff2') format('woff2'), url('/Content/fonts/GreatVibes-Regular.woff') format('woff'), url('/Content/fonts/GreatVibes-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color-hue: 252;
    --light-color-lightness: 95%;
    --white-color-lightness: 100%;
    --dark-color-lightness: 17%;
    --color-white: hsl(252, 30%, var(--white-color-lightness));
    --color-light: hsl(252, 30%, var(--light-color-lightness));
    --color-gray: hsl(var(--primary-color-hue), 15%, 65%);
    --color-primary: hsl(var(--primary-color-hue), 75%, 60%);
    --color-secondary: hsl(252, 100%, 90%);
    --color-success: hsl(120, 95%, 65%);
    --color-danger: hsl(0, 95%, 65%);
    --color-dark: hsl(252, 30%, var(--dark-color-lightness));
    --color-black: hsl(252, 30%, 10%);
    --border-radius: 2rem;
    --card-border-radius: 1rem;
    --btn-padding: 0.6rem 2rem;
    --search-padding: 0.6rem 1rem;
    --card-padding: 1rem;
    --sticky-top-left: 5.4rem;
    --sticky-top-right: -18rem;
}



*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    border: none;
}

body {
    font-family: "Poppins",sans-serif;
    background-color: var(--color-light);
    color: var(--color-dark);
    overflow-x: clip;
    width: 100%;
}

.container {
    width: 85% !important;
    margin: 0 auto;
    display: flex;
    
}

.log {
    font-family: 'Great Vibes', cursive;
    font-size: 48px;
    font-weight: 900; /* extra bold */
    background: linear-gradient(90deg, #ff0000, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    text-shadow: 0 2px 10px rgba(255, 105, 180, 0.4);
    animation: floatText 3s ease-in-out infinite;
}

/* Subtle floating animation */
@keyframes floatText {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}



.profile-photo {
    width: 2.7rem;
    height: 2.7rem;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: var(--btn-padding);
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 300ms ease;
    font-size: 0.9rem;
}

    .btn:hover {
        opacity: 0.8;
    }

.btn-primary {
    background: var(--color-primary) !important;
    color: white;
}

.text-bold {
    font-weight: 500;
}

.text-muted {
    color: var(--color-gray);
}

nav {
    width: 100% !important;
    background: var(--color-white);
    padding: 0.7rem 0;
    position: fixed;
    top: 0;
    z-index: 10;
}

    nav .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.search-bar {
    background: var(--color-light);
    border-radius: var(--border-radius);
    padding: var(--search-padding);
}

    .search-bar input[type="search"] {
        background: transparent;
        width: 30vw;
        margin-left: 1rem;
        font-size: 0.9rem;
        color: var(--color-dark);
    }

nav .search-bar input[type="search"]::placeholder {
    color: var(--color-gray);
}

nav .create {
    display: flex;
    align-items: center;
    gap: 2rem;
}

main {
    position: relative;
    top: 5.4rem;
}

    main .container {
        display: grid;
        grid-template-columns: 20% auto 15%;
        column-gap: 2rem;
        position: relative;
    }

        main .container .left {
            height: max-content;
            position: sticky;
            top: var(--sticky-top-left);
        }

            main .container .left .profile {
                padding: var(--card-padding);
                background: var(--color-white);
                border-radius: var(--card-border-radius);
                display: flex;
                align-items: center;
                column-gap: 1rem;
                width: 100%;
            }


.left .sidebar {
    margin-top: 1rem;
    background: var(--color-white);
    border-radius: var(--card-border-radius);
}

/* Handle Styling Fix */
.handle h4, .handle p {
    color: black !important; /* Ensure text is black */
    text-decoration: underline !important;
}


.left .sidebar .menu-item {
    display: flex;
    align-items: center;
    height: 4rem;
    cursor: pointer;
    transition: all 300ms ease;
    position: relative;
}

    .left .sidebar .menu-item:hover {
        background: var(--color-light);
    }

.left .sidebar i {
    font-size: 1.4rem;
    color: var(--color-gray);
    margin-left: 2rem;
    position: relative;
}

    .left .sidebar i .notification-count {
        background: var(--color-danger);
        color: white;
        font-size: 0.7rem;
        width: fit-content;
        border-radius: 0.8rem;
        padding: 0.1rem 0.4rem;
        position: absolute;
        top: -0.2rem;
        right: -0.3rem;
    }

.left .sidebar a {
    text-decoration: none !important; /* Remove underline */
    color: black !important; /* Ensure text is black */
}


.left .sidebar h3 {
    margin-left: 1.5rem;
    font-size: 1rem;
}

.left .sidebar .active {
    background: var(--color-light);
}

    .left .sidebar .active i,
    .left .sidebar .active h3 {
        color: var(--color-primary); /* Change text color to black */
        text-decoration: none; /* Remove underline */
    }


    .left .sidebar .active::before {
        content: "";
        display: block;
        width: 0.5rem;
        height: 100%;
        position: absolute;
        background: var(--color-primary);
    }

.left .sidebar .menu-item:first-child.active {
    border-top-left-radius: var(--card-border-radius);
    overflow: hidden;
}

.left .sidebar .menu-item:last-child.active {
    border-bottom-left-radius: var(--card-border-radius);
    overflow: hidden;
}

.left .btn {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
}

.btn-sm {
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 6px;
}

.logout-btn {
    background-color: #a66bff;
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s ease;
}

    .logout-btn:hover {
        background-color: #944eff;
        color: #fff;
    }

/*==============MIDDLE=====================*/

/*---------------CREATE POST ------------------*/
.middle .create-post {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    background: var(--color-white);
    padding: 0.4rem var(--card-padding);
    border-radius: var(--border-radius);
}

    .middle .create-post input[type="text"] {
        justify-self: start;
        width: 100%;
        padding-left: 1rem;
        background: transparent;
        color: var(--color-dark);
        margin-right: 1rem;
    }
/*------------------------FEEDS-----------------------*/
.middle .feeds .feed {
    background: var(--color-white);
    border-radius: var(--card-border-radius);
    padding: var(--card-padding);
    margin: 1rem 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.post-card {
    background: var(--color-white);
    border-radius: var(--card-border-radius);
    padding: var(--card-padding);
    margin-bottom: 2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.middle .feed .head {
    display: flex;
    justify-content: space-between;
}

.middle .feed .user {
    display: flex;
    gap: 1rem;
}

.middle .feed .photo {
    border-radius: var(--card-border-radius);
    overflow: hidden;
    margin: 0.7rem 0;
}

.middle .feed .action-buttons {
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    margin: 0.6rem;
}

.action-buttons i {
    font-size: 30px; /* Ya jo size chahen, 35px, 40px etc */
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}


.heart-icon {
    color: gray; /* Default heart color */
    cursor: pointer;
    font-size: 30px; /* Size of the heart */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for color and size */
}

    .heart-icon.liked {
        color: red; /* Heart color when liked */
        transform: scale(1.2); /* Slightly enlarge the heart when liked */
    }


.popup-menu {
    z-index: 10050;
    min-width: 150px;
}


.middle .linked-by {
    display: flex;
}

    .middle .linked-by span {
        width: 1.4rem;
        height: 1.4rem;
        display: block;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid var(--color-white);
        margin-left: -0.6rem;
    }

        .middle .linked-by span:first-child {
            margin: 0;
        }

    .middle .linked-by p {
        margin-left: 0.5rem;
    }

.styled-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 10px;
    border: none;
    background-color: #3a3a3a;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .styled-btn:hover {
        background-color: #505050;
        transform: scale(1.03);
    }

.animated {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*==================RIGHT=======================*/


.right-notifications-popup {
    position: fixed;
    top: 120px; /* a bit lower */
    right: 20px;
    width: 360px;
    max-height: 75vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 1rem var(--color-primary);
    z-index: 1000;
    display: none;
    transition: all 0.3s ease;
}

    /* Optional smooth slide effect */
    .right-notifications-popup.show {
        animation: fadeInUp 0.3s ease forwards;
    }

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.profile-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

    .profile-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.notification-text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

    .notification-text small {
        color: #888;
        font-size: 12px;
        display: block;
        margin-top: 2px;
    }

/*================== FRIEND REQUESTS====================*/

.right .friend-requests {
    margin-top: 1rem;
}

    .right .friend-requests h4 {
        color: var(--color-gray);
        margin: 1rem 0;
    }

.right .request {
    background: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    margin-bottom: 0.7rem;
}

    .right .request .info {
        display: flex;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .right .request .action {
        display: flex;
        gap: 1rem;
    }

/*==========================THEME CUSTOMIZATION===============*/
.customize-theme {
    background: rgba(255, 255, 255, 0.5);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    text-align: center;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    display: none;
}

    .customize-theme .card {
        background: var(--color-white);
        padding: 3rem;
        border-radius: var(--card-border-radius);
        width: 50%;
        box-shadow: 0 0 1rem var(--color-primary);
    }

    /*====================FONT SIZES===============*/

    .customize-theme .font-size {
        margin-top: 5rem;
    }

        .customize-theme .font-size > div {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: var(--color-light);
            padding: var(--search-padding);
            border-radius: var(--card-border-radius);
        }

    .customize-theme .choose-size {
        background: var(--color-secondary);
        height: 0.3rem;
        width: 100%;
        margin: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .customize-theme .choose-size span {
            width: 1rem;
            height: 1rem;
            background: var(--color-secondary);
            border-radius: 50%;
            cursor: pointer;
        }

            .customize-theme .choose-size span.active {
                background: var(--color-primary);
            }

    /*======================= COLOR =====================*/

    .customize-theme .color {
        margin-top: 2rem;
    }

    .customize-theme .choose-color {
        background: var(--color-light);
        padding: var(--search-padding);
        border-radius: var(--card-border-radius);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .customize-theme .choose-color span {
            width: 2.2rem;
            height: 2.2rem;
            border-radius: 50%;
        }

            .customize-theme .choose-color span:nth-child(1) {
                background: hsl(252, 75%, 60%);
            }

            .customize-theme .choose-color span:nth-child(2) {
                background: hsl(52, 75%, 60%);
            }

            .customize-theme .choose-color span:nth-child(3) {
                background: hsl(352, 75%, 60%);
            }

            .customize-theme .choose-color span:nth-child(4) {
                background: hsl(152, 75%, 60%);
            }

            .customize-theme .choose-color span:nth-child(5) {
                background: hsl(202, 75%, 60%);
            }

            .customize-theme .choose-color span.active {
                border: 5px solid white;
            }

    

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    background-color: rgba(255, 255, 255, 0.05) !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.05) inset !important;
    -webkit-text-fill-color: white !important;
    border: none !important;
    transition: background-color 5000s ease-in-out 0s;
}

.logout-icon {
    font-size: 2.8rem;
    cursor: pointer;
    margin-left: 10px;
    color: var(--color-primary);
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

    .logout-icon:hover {
        transform: scale(1.3) rotate(15deg);
        color: var(--color-danger);
        text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
    }

.logout-dropdown {
    display: none;
    position: absolute;
    top: 65px; /* adjust as needed, e.g., 40px, 60px depending on your layout */
    right: 0;
    background: var(--color-primary);
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    min-width: 120px;
    z-index: 100;
    animation: fadeSlide 0.3s ease forwards;
}

    .logout-dropdown .dropdown-item {
        display: block;
        padding: 10px 15px;
        text-decoration: none;
        color: #333;
        font-weight: 600;
        transition: background 0.2s, color 0.2s;
    }

        .logout-dropdown .dropdown-item:hover {
            background: var(--color-danger);
            color: #fff;
        }

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .search-result-item:hover {
        background: #f0f0f0;
    }

.search-result-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid #ddd;
}

.search-result-username {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.menu-icon {
    width: 50px; /* 👈 Bigger icon */
    height: 50px;
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-icon {
    transform: scale(1.1);
}

.logout-icon {
    width: 40px; /* You can adjust to 32px or 36px if needed */
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .logout-icon:hover {
        transform: scale(1.1);
    }

.swal2-radio {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-left: 1rem;
    gap: 10px;
}

.comment-section {
    border-top: 1px solid #ddd;
    padding: 10px;
    background: #fafafa;
    border-radius: 0 0 8px 8px;
}

.comments-list div {
    margin-bottom: 6px;
    font-size: 14px;
}

    .comments-list div strong {
        color: #333;
    }

.new-comment {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    margin-top: 8px;
}

.submit-comment {
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    margin-top: 6px;
    float: right;
    cursor: pointer;
    transition: background 0.3s;
}

    .submit-comment:hover {
        background: #287dc0;
    }

.comment-btn {
    cursor: pointer;
    color: #555;
    font-size: 20px;
    transition: color 0.3s;
}

    .comment-btn:hover {
        color: #3897f0;
    }

.comments-list {
    max-height: 50px; /* Adjust for about 4 comments (1.2em per line, adjust if needed) */
    overflow-y: auto;
}

.video-wrapper,
.image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
}

    .video-wrapper video,
    .image-wrapper img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 10px;
    }

.swal-delete-popup {
    border-radius: 25px !important;
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.25);
    animation: slideUp 0.5s ease-out;
}

.swal-delete-confirm {
    padding: 10px 25px !important;
    font-size: 16px !important;
    font-weight: 600;
    background: linear-gradient(to right, #ff758c, #ff7eb3) !important;
    border: none !important;
    border-radius: 30px !important;
    box-shadow: 0 0 15px #ff8fa3 !important;
}

.swal-delete-cancel {
    padding: 8px 20px !important;
    border-radius: 20px !important;
    background: #d3d3d3 !important;
    color: #333 !important;
}

@keyframes slideUp {
    from {
        transform: translateY(60px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.fancy-btn {
    background-color: transparent;
    border: 1px solid #555;
    color: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .fancy-btn:hover {
        background-color: #3b82f6;
        color: white;
        border-color: #3b82f6;
    }

.smart-notes-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

    .smart-notes-float .smart-icon {
        width: 70px; /* Increased size */
        height: 70px; /* Increased size */
        border-radius: 0; /* No circle */
        background-color: transparent;
        padding: 0;
        object-fit: contain;
        box-shadow: none;
        cursor: pointer;
        transition: transform 0.3s ease;
    }


        .smart-notes-float .smart-icon:hover {
            transform: scale(1.1);
        }

.smart-tooltip {
    position: absolute;
    right: 80px;
    bottom: 20px;
    background: linear-gradient(to right, #fbc2eb, #a6c1ee);
    color: #000;
    padding: 10px 18px; /* Increased padding */
    border-radius: 25px;
    font-size: 15px; /* Increased font size */
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: 0.3s ease;
    pointer-events: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}


.smart-notes-float:hover .smart-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.user-type-badge i {
    font-size: 16px; /* slightly bigger for visibility */
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
    /* Stylish effects */
    padding: 6px;
    border-radius: 50%; /* circular background */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: default;
}

    /* Hover animation */
    .user-type-badge i:hover {
        transform: scale(1.3);
        box-shadow: 0 6px 14px rgba(0,0,0,0.3);
    }

/* Gradient backgrounds for student & alumni */
.badge-student {
    background: linear-gradient(135deg, #56c596, #a8e6cf); /* green gradient */
    color: #fff; /* white icon */
}

.badge-alumni {
    background: linear-gradient(135deg, #6c757d, #d3d3d3); /* grey gradient */
    color: #fff; /* white icon */
}

/* MAIN MODAL */
.complaint-modal {
    border-radius: 18px;
    border: none;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* HEADER */
.complaint-header {
    background: linear-gradient(135deg, #ff7eb3, #7f77dd);
    color: white;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

/* ALERT BOX */
.complaint-alert {
    background: linear-gradient(135deg, #ffe6f0, #f3e8ff);
    color: #6a0dad;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 15px;
}

/* INPUT FIELDS */
.complaint-input {
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s;
}

    .complaint-input:focus {
        border-color: #c084fc;
        box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.2);
    }

/* BUTTON */
.complaint-btn {
    background: linear-gradient(135deg, #ff7eb3, #7f77dd);
    color: white;
    border: none;
    transition: 0.3s;
}

    .complaint-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(127,119,221,0.4);
    }

/* FOOTER */
.complaint-footer {
    border-top: none;
}

/* SUCCESS ICON */
.success-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

    .success-circle i {
        font-size: 30px;
        color: #059669;
    }

.modal-content {
    animation: popupFade 0.3s ease;
}

@keyframes popupFade {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* -------------------- Responsive Improvements -------------------- */
@media (max-width: 1024px) {
    .container {
        width: 95% !important;
    }

    main .container {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
    }

    .left,
    .middle,
    .right {
        min-width: 0;
    }

    main .container .left,
    main .container .right {
        position: static;
        top: auto;
    }

    .right {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .log {
        font-size: 36px;
    }

    nav .container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .search-bar {
        width: 100%;
        order: 3;
    }

    .search-bar input[type="search"] {
        width: calc(100% - 2rem);
        margin-left: 0.5rem;
    }

    nav .create {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 100%;
    }

    .menu-icon {
        width: 36px;
        height: 36px;
    }

    .logout-icon {
        width: 32px;
        height: 32px;
    }

    main {
        top: 8.2rem;
    }

    .left .profile {
        display: flex !important;
        margin-bottom: 0.55rem;
        padding: 0.6rem 0.7rem !important;
    }

    .left .profile .handle h4 {
        font-size: 0.95rem;
        line-height: 1.2;
        text-decoration: none !important;
    }

    .left .sidebar {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding: 0.3rem;
        gap: 0.3rem;
        overflow: visible;
    }

    .left .sidebar .menu-item {
        min-width: 0;
        height: auto;
        padding: 0.55rem 0.2rem;
        justify-content: center;
        border-radius: 10px;
        background: var(--color-light);
    }

    .left .sidebar i {
        margin-left: 0;
        font-size: 1.1rem;
    }

    .left .sidebar i .notification-count {
        top: -0.45rem;
        right: -0.5rem;
    }

    .left .sidebar h3 {
        display: none;
    }

    .left .sidebar .active::before {
        display: none;
    }

    .middle .create-post {
        flex-wrap: wrap;
        gap: 0.6rem;
        border-radius: 16px;
        padding: 0.55rem 0.75rem;
    }

    .middle .create-post .profile-photo {
        flex-shrink: 0;
    }

    .middle .create-post input[type="text"] {
        margin-right: 0;
        width: 100%;
    }

    .middle .create-post input[type="button"],
    .middle .create-post .btn {
        width: 100%;
    }

    .middle .feeds .feed,
    .post-card {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-radius: 14px;
        padding: 0.75rem;
    }

    .middle .feed .head {
        align-items: flex-start;
        gap: 0.5rem;
    }

    .middle .feed .user {
        gap: 0.6rem;
        min-width: 0;
        flex: 1;
    }

    .middle .feed .user .info h3 {
        font-size: 0.9rem !important;
        word-break: break-word;
    }

    .middle .feed .user .info small {
        font-size: 0.72rem;
    }

    .middle .feed .photo {
        max-height: 70vh;
    }

    .middle .feed .photo,
    .middle .feed .photo .video-wrapper,
    .middle .feed .photo .image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    .right {
        display: block;
        min-height: 0;
    }

    .right-notifications-popup {
        right: 10px;
        left: 10px;
        top: 90px;
        width: auto;
        max-height: 70vh;
        z-index: 11000;
    }

    .customize-theme .card {
        width: 92%;
        padding: 1.25rem;
    }

    .smart-notes-float {
        bottom: 12px;
        right: 12px;
        z-index: 12000;
    }

    .smart-notes-float .smart-icon {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .log {
        font-size: 30px;
    }

    .profile-photo {
        width: 2.2rem;
        height: 2.2rem;
    }

    .action-buttons i {
        font-size: 24px;
    }

    .container {
        width: 98% !important;
        padding-left: 6px;
        padding-right: 6px;
    }

    nav {
        padding: 0.45rem 0;
    }

    nav .container {
        gap: 0.5rem;
    }

    .search-bar {
        padding: 0.5rem 0.7rem;
    }

    .search-bar i {
        font-size: 0.9rem;
    }

    .search-bar input[type="search"] {
        font-size: 0.78rem;
        margin-left: 0.4rem;
    }

    nav .create {
        gap: 0.5rem;
    }

    .menu-icon {
        width: 28px;
        height: 28px;
    }

    main {
        top: 8.6rem;
    }

    .middle .feed .action-buttons {
        margin: 0.2rem 0;
    }

    .right-notifications-popup {
        top: 78px;
        border-radius: 14px;
        padding: 12px;
    }

    .left .profile {
        margin-bottom: 0.45rem;
    }

    .left .profile .handle h4 {
        font-size: 0.9rem;
    }

    .right-notifications-popup {
        top: 84px;
        left: 8px;
        right: 8px;
        width: auto !important;
    }

    .smart-notes-float {
        display: block;
        bottom: 10px;
        right: 10px;
    }

    .smart-notes-float .smart-icon {
        width: 44px;
        height: 44px;
    }
}








