:root {
    --primary-color: #0095f6;
    --border-color: #dbdbdb;
    --text-dark: #262626;
    --text-gray: #8e8e8e;
    --bg-color: #fafafa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
   
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.main-content-sub {
    min-height: 100vh;
    max-width: 500px;
    background-color: white;
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 50px;
}
@media (min-width: 935px) {
    .main-content-sub {
        width: 500px !important;
    }
}
    .MyContainerbac {
        background: radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.4), transparent 40%), radial-gradient(circle at 80% 20%, rgba(255, 182, 193, 0.4), transparent 40%), radial-gradient(circle at 30% 80%, rgba(255, 165, 0, 0.4), transparent 40%), radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.6), transparent 40%), #fdfdfd;
        border: 1px solid #f04c1830;
        padding: 5px;
    }

    .login-border-wrapper {
        background: linear-gradient(90deg, #FF511A 0%, #FFC517 100%);
        border-radius: 20px;
        height: 4px;
        width: 100%;
        margin: auto;
    }

    .d-flex {
        /* display: flex !important; */
    }
    /* Desktop Layout (side navigation) */
    @media (min-width: 935px) {
        .container {
            display: flex;
            /*  max-width: 85vw;
        margin: 30px auto 0;
        margin-top: 0;
        width: 100%;
        padding: 0 20px;
        gap: 30px;*/
        }

        .sidebar {
            position: fixed;
            width: 245px;
            padding-top: 30px;
        }

        .main-content {
            display: flex;
            justify-content: space-evenly;
            place-items: center;
            min-height: 100vh;
            border-left: 3px solid #ff511a;
            margin-left: 245px;
            width: 100%;
        }

        .mobile-bottom-nav {
            display: none;
        }
    }

    /* Mobile Layout (bottom navigation) */
    @media (max-width: 934px) {
        .sidebar {
            display: none;
        }

        .main-content {
            min-height: 100vh;
            width: 100%;
            margin: 0 auto;
        }

        .mobile-bottom-nav {
            background-color: white;
            display: flex;
            position: fixed;
            bottom: 0;
            width: 100%;
            padding: 12px 0;
            justify-content: space-around;
        }
    }

    /* Logo/Header Styles */
    .header {
        position: sticky;
        top: 0;
        background-color: white;
        padding: 10px 0;
        display: none;
        justify-content: center;
        z-index: 10;
    }

    .logo {
        height: 29px;
    }

        .logo img {
            height: 100%;
            width: auto;
        }

    @media (max-width: 934px) {
        .header {
            display: flex;
        }
    }

    /* Sidebar Navigation */
    .sidebar .logo {
        margin-bottom: 30px;
        padding: 0 12px;
    }

    .nav-links {
        list-style: none;
        padding: 0 12px;
    }

        .nav-links li {
            margin-bottom: 20px;
            font-size: 16px;
            font-weight: 500;
        }

        .nav-links a {
            text-decoration: none;
            color: black;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .nav-links i {
            font-size: 24px;
        }

    .profile-pic {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        object-fit: cover;
    }

    /* Mobile Bottom Navigation */
    .mobile-bottom-nav a {
        color: black;
        text-decoration: none;
        font-size: 24px;
    }

    /* Post Styles */
    .post {
        background-color: white;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        margin-bottom: 24px;
    }

    .post-header {
        display: flex;
        align-items: center;
        padding: 14px 16px;
    }

    .post-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        margin-right: 12px;
        object-fit: cover;
    }

    .post-user {
        font-weight: 600;
        font-size: 14px;
        color: var(--text-dark);
    }

    .post-more {
        margin-left: auto;
        font-weight: bold;
        font-size: 18px;
    }

    .post-image {
        width: 100%;
        height: auto;
    }

    .post-actions {
        padding: 6px 16px;
        display: flex;
        gap: 16px;
    }

    .post-action {
        font-size: 24px;
        color: var(--text-dark);
    }

        .post-action.save {
            margin-left: auto;
        }

    .post-likes {
        padding: 0 16px;
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .post-caption {
        padding: 0 16px;
        margin-bottom: 8px;
        font-size: 14px;
    }

        .post-caption .username {
            font-weight: 600;
            margin-right: 4px;
        }

    .post-comments {
        padding: 0 16px;
        color: var(--text-gray);
        font-size: 14px;
        margin-bottom: 8px;
    }

    .post-time {
        padding: 0 16px 12px;
        color: var(--text-gray);
        font-size: 10px;
        text-transform: uppercase;
        margin-bottom: 4px;
    }

.nice-a {
    border: 1px solid #c57e00;
    display: inline-block;
    padding: 15px 25px;
    background: linear-gradient(135deg, #ff3c00, #bda840d9);
    color: white;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(37, 117, 252, 0.3) !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .nice-a:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 25px rgba(37, 117, 252, 0.4) !important;
        background: linear-gradient(135deg, #ff3c00, #1c0f0ad9);
    }
.nice-a-negative {
    display: inline-block;
    padding: 15px 25px;
    background: linear-gradient(151deg, #ffffff, #e2bd88); 
    color: #4d1d0b;
    border: 2px solid #c57e00; /* outline instead of fill */
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 6px 15px rgba(106, 17, 203, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

    .nice-a-negative:hover {
        border: 2px solid #c57e00;
        background: linear-gradient(135deg, #ff3c00, #1c0f0ad9) !important; /* fill on hover */
        color: #fff; /* text turns white */
        transform: translateY(-1px);
    }



    .empty-state {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        grid-column: span 3;
        padding: 50px 25px;
        background: linear-gradient(145deg, #ffffff, #f3f6ff);
        border-radius: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        color: #555;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    }

        .empty-state:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            background: linear-gradient(145deg, #f0f4ff, #e8edff);
        }

    .empty-icon {
        margin-bottom: 20px;
    }

    /* Pulse animation for the icon */
    .pulse {
        animation: pulse 1.5s infinite;
        stroke: #6a11cb;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 0.8;
        }

        50% {
            transform: scale(1.1);
            opacity: 1;
        }

        100% {
            transform: scale(1);
            opacity: 0.8;
        }
    }

    .empty-state p {
        font-size: 18px;
        font-weight: 600;
        color: #333;
    }

    .Desk-Menu-div {
        background: #ffffff;
        border-radius: 30px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.15);
        transition: box-shadow 0.3s ease, transform 0.3s ease;
        min-height: 100%;
    }

    .nav-links :hover {
        transform: translateY(-4px);
    }
