* {
    font-family: "Poppins", sans-serif;
    font-style: normal;
}
html {
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}
html, body {
    height: 100%;
    margin: 0;
    overflow-x:hidden;
}
    body {
        font-family: 'Poppins', sans-serif;
        background: #f5f7fb;
        margin: 0;
    }
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body .auth-page {
    margin-bottom: 60px;
}

.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* Theme COlors */
:root {
    --primary-color: #1B3A4B; /* Deep Blue (27, 58, 75) */
    --secondary-color: #D4A373; /* Golden Brown */
    --background-color: #FAF3E0; /* Light Cream */
    --card-color: #FFFFFF; /* White */
    --text-color: #2B2B2B; /* Dark Text */
    --border-color: #E6D5B8; /* Soft border (extra for UI) */
}

.themePrimary {
    color: var(--primary-color);
}
.themePrimary-bg {
    background-color: var(--primary-color);
}

.custom-border-radius{
    border-radius:15px;
}
/*:root {
    --primary-color: #1B263B;
    --secondary-color: #F97316;
}*/
/* Button Styles */
.btnNavy {
    background-color: var(--primary-color);
    color: #fff;
}
    .btnNavy:hover {
        color: #8f8f8f;
    }

.page-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px 110px 15px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}
.login-card,
.register-card {
    border-radius: 14px;
    padding: 10px;
}
.login-box {
    width: 100%;
    max-width: 380px;
}

.logo-box {
    text-align: center;
    margin-bottom: 14px;
}

    .logo-box img {
        width: 120px;
        height: auto;
    }

.login-card {
    background: #ffffff;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

    .login-card .card-body {
        padding: 24px;
    }

.login-title {
    text-align: center;
    margin-bottom: 20px;
}

    .login-title h4 {
        margin: 0;
        font-size: 24px;
        font-weight: 700;
        color: #1b263b;
    }

    .login-title p {
        margin: 6px 0 0;
        font-size: 14px;
        color: #6c757d;
    }

.form-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #1b263b;
}

.form-control {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #d9dee7;
    box-shadow: none;
    font-size: 14px;
}

    .form-control:focus {
        border-color: #1b263b;
        box-shadow: 0 0 0 0.15rem rgba(27, 38, 59, 0.10);
    }

.btn-login {
    height: 44px;
    border: none;
    border-radius: 10px;
    background: #1b263b;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

    .btn-login:hover {
        background: #243552;
        color: #fff;
    }

.mini-links {
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
}

    .mini-links a {
        color: #1b263b;
        text-decoration: none;
        font-weight: 500;
    }

        .mini-links a:hover {
            text-decoration: underline;
        }

.bottom-bg {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 444px;
    background: url('/images/city-96-bg.jpg') no-repeat bottom center;
    background-size: cover;
    z-index: -1;
}
/*************/
.form-check-input:checked {
    background-color: #1b263b;
    border-color: #1b263b;
}

.gender-box {
    min-height: 44px;
    display: flex;
    align-items: center;
    border: 1px solid #d9dee7;
    border-radius: 10px;
    padding: 0 12px;
    background: #fff;
}

.register-box {
    width: 100%;
    max-width: 720px;
}
.register-card {
    background: #ffffff;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

    .register-card .card-body {
        padding: 24px;
    }

.register-title {
    text-align: center;
    margin-bottom: 22px;
}

    .register-title h4 {
        margin: 0;
        font-size: 24px;
        font-weight: 700;
        color: #1b263b;
    }

    .register-title p {
        margin: 6px 0 0;
        font-size: 14px;
        color: #6c757d;
    }
.bottom-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}

    .bottom-link a {
        color: #1b263b;
        text-decoration: none;
        font-weight: 600;
    }

        .bottom-link a:hover {
            text-decoration: underline;
        }

/*-================================= Dashboard =======================================*/

body .dashboard-page {
    background: var(--background-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}
/*--------- SIDEBAR -----------------*/
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 20px;
    background: var(--card-color);
    border-bottom: 1px solid var(--border-color);
}
.sidebar {
    background: var(--card-color);
    border-right: 1px solid var(--border-color);
    width: 240px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 20px;
    transition: 0.3s;
}

    .sidebar a {
        display: block;
        padding: 10px;
        border-radius: 8px;
        text-decoration: none;
        margin-bottom: 5px;
        color: var(--primary-color) !important;
    }

        .sidebar a:hover {
            background: #F3E6D3;
            color: var(--secondary-color);
        }

.sidebar-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary-color);
}
/*--- btns ---*/ 
.btn-custom {
    padding:8px 12px;
    border-radius:12px;
    background: var(--primary-color);
    border: none;
    color: #fff;
}

    .btn-custom:hover {
        background: rgba(27, 58, 75,0.9) !important;
    }

.btn-secondary {
    background: var(--secondary-color);
    border: none;
    color: #fff;
}
.btn-primary {
    background: var(--primary-color);
    border: none;
    color: #fff;
}
    .btn-primary:hover {
        background: rgba(27, 58, 75,0.9);
    }
.btn:focus,
.btn:active,
.btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
.dashboard-page {
    display: flex;
}

.search-box {
    width: 50%;
}
.layout-profile-photo{
    height:35px;
    width:35px;
    cursor:pointer;
}
/* CONTENT */
.main-content {
    margin-left: 240px;
    background: var(--background-color);
    min-height: 100vh;
    width: 100%;
}

.post-action {
    cursor: pointer;
    color: #6c757d !important;
    font-size: 14px;
}

    .post-action:hover {
        color: #F14A26;
    }

 
.post-img{
    height:250px;
    width:100%;
    object-fit:contain;
}
/* BORDER FIX FOR YOUR THEME */
.border-top {
    border-top: 1px solid var(--border-color) !important;
}

.reaction-wrapper {
    position: relative;
    display: inline-block;
}

.reaction-popup {
    position: absolute;
    bottom: 40px;
    left: 0;
    background: #fff;
    padding: 6px 10px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.2s ease;
}

/* hover OR active */
.reaction-wrapper:hover .reaction-popup,
.reaction-wrapper.active .reaction-popup {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* emoji */
.reaction-popup span {
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

    .reaction-popup span:hover {
        transform: scale(1.4);
    }
.reaction-icons {
    display: inline-flex;
    align-items: center;
}

    .reaction-icons .emoji {
        font-size: 16px;
        margin-right: -5px; /* overlap effect */
        border: 2px solid #fff;
        border-radius: 50%;
        background: #fff;
    }

.comment-section {
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.comment-bubble {
    background: #f0f2f5;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 85%;
}

.comment-text {
    font-size: 14px;
}

.comment-input {
    border-radius: 20px;
}
/*------------------- edit profile ---------------------*/
.profile-card {
    border-radius: 15px;
}

.profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.section-title {
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* Better spacing */
.form-label, label {
    font-weight: 500;
    margin-bottom: 5px;
}
input[type="file"].form-control {
    height: auto !important;
    padding: 6px 12px;
}

/*------------------------- change password ---------------------------------*/
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 14px;
    color: #888;
}

    .toggle-password:hover {
        color: #000;
    }

    /*-================== birthday page ========================-*/
/*.birthday-wrapper {
    position:relative;
    min-height: 85vh;
    background: linear-gradient(135deg, #fff5e6, #ffe0ec);
    border: 3px dashed #ff4d6d;
    border-radius: 25px;
    padding: 40px 0;
    box-shadow: 0 0 20px rgba(255, 77, 109, 0.3);
overflow:hidden;
}*/

/* MAIN CARD */
/*.birthday-container {
    position:relative;
    max-width: 750px;
    margin: auto;
    background: rgba(255,255,255,0.7);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 2 !important;
}

.birthday-card {
    border-radius: 15px;
    padding: 12px;
    margin-bottom: 12px;
    background: #f9fafc;
    transition: 0.3s;
}


.birthday-wrapper .profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border:1px solid var(--border-color);
}

.wish-btn {
    background-color: #ffe0ec;
    border-radius: 20px;
    padding:8px 10px;
    font-size: 14px;
}

.floating {
    position: absolute;
    width: 120px;
    opacity: 0.9;
    z-index: 0;
}

.balloon-left {
    top: 30px;
    left: -30px;
    transform:rotate(15deg);
}

.balloon-right {
    bottom: 120px;
    right: -25px;
    transform: rotate(-55deg);
}

.cake-bottom {
    width:150px;
    bottom: 0;
    right: 250px;
}*/
/*=================== profile page =================*/
.profile-img-lg {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-top: -60px;
}

.profile-img-sm {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.social-links a {
    color: inherit;
    text-decoration: none;
    font-size: 14px;
}

    .social-links a:hover {
        text-decoration: underline;
    }

.cover-container {
    height: 150px;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/****************** birthday page design from ai ************************/
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

.birthday-bg {
    background: linear-gradient(135deg, #fff5e6, #ffe0ec, #f0e0ff);
    min-height: 100vh;
    font-family: 'Nunito', sans-serif;
    position: relative;
    overflow: hidden !important      
}

.birthday-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 16px;
    position: relative;
    z-index: 2;
}

.birthday-header {
    text-align: center;
    margin-bottom: 32px;
}

    .birthday-header .icon-box {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
        border-radius: 24px;
        background: rgba(220, 38, 80, 0.1);
        margin-bottom: 16px;
        animation: wiggle 2s ease-in-out infinite;
    }

    .birthday-header h1 {
        font-size: 2.25rem;
        font-weight: 900;
        color: #2d1a2e;
    }

    .birthday-header p {
        color: #8a7a8a;
        font-weight: 500;
    }

/* Section cards */
.birthday-section {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 32px -8px rgba(220, 38, 80, 0.2);
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

    .section-header .emoji-box {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        background: rgba(220, 38, 80, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        animation: wiggle 2s ease-in-out infinite;
    }

    .section-header h2 {
        font-size: 1.25rem;
        font-weight: 800;
    }

    .section-header small {
        color: #8a7a8a;
        font-size: 0.875rem;
    }

/* Birthday cards */
.birthday-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

    .birthday-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 40px -12px rgba(220, 38, 80, 0.3);
    }

    .birthday-card .profile-img {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid rgba(220, 38, 80, 0.2);
        transition: border-color 0.3s;
    }

    .birthday-card:hover .profile-img {
        border-color: rgba(220, 38, 80, 0.5);
    }

    .birthday-card .info {
        flex: 1;
        min-width: 0;
    }

        .birthday-card .info strong {
            display: block;
            font-weight: 700;
            color: #2d1a2e;
        }

        .birthday-card .info span {
            font-size: 0.875rem;
            color: #8a7a8a;
        }

.days-badge {
    background: #fff5e6;
    color: #2d1a2e;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.wish-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(220, 38, 80, 0.1);
    color: #dc2650;
    border: none;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .wish-btn:hover {
        background: #dc2650;
        color: #fff;
    }

/* Toggle button */
.toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 24px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

    .toggle-btn:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        transform: translateY(-2px);
    }

/* Confetti */
.confetti-piece {
    position: absolute;
    opacity: 0.8;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-20vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}
/*===================================================================================*/
/* ===== SEARCH MEMBERS PAGE ===== */

.search-page {
    min-height: 100vh;
    background-color: var(--background-color);
    padding: 40px 16px;
}

.search-wrapper {
    max-width: 560px;
    margin: auto;
}

/* Header */
.search-header {
    text-align: center;
    margin-bottom: 32px;
    animation: fadeIn 0.4s ease-out;
}

.search-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(27, 58, 75, 0.1);
    margin-bottom: 16px;
    font-size: 28px;
}

.search-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-color);
    margin: 0;
}

.search-header p {
    color: rgba(43, 43, 43, 0.6);
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

/* Search Card */
.search-card {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    animation: fadeIn 0.4s ease-out 0.1s both;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--background-color);
    transition: all 0.3s ease;
}

    .search-input-wrap.focused {
        border-color: var(--secondary-color);
        box-shadow: 0 0 16px rgba(212, 163, 115, 0.2);
    }

    .search-input-wrap i {
        position: absolute;
        left: 16px;
        font-size: 16px;
        color: rgba(43, 43, 43, 0.4);
        transition: color 0.3s;
    }

    .search-input-wrap.focused i {
        color: var(--secondary-color);
    }

    .search-input-wrap input {
        width: 100%;
        padding: 14px 40px 14px 44px;
        background: transparent;
        border: none;
        outline: none;
        font-size: 15px;
        font-weight: 500;
        color: var(--text-color);
    }

        .search-input-wrap input::placeholder {
            color: rgba(43, 43, 43, 0.4);
        }

.search-clear-btn {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 700;
    color: rgba(43, 43, 43, 0.4);
    cursor: pointer;
    transition: color 0.2s;
    display: none;
}

    .search-clear-btn:hover {
        color: var(--text-color);
    }

    .search-clear-btn.show {
        display: block;
    }

/* Results Count */
.results-count {
    font-size: 11px;
    font-weight: 700;
    color: rgba(43, 43, 43, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-left: 4px;
}

/* Member Card */
.search-member-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    animation: fadeIn 0.4s ease-out both;
}

    .search-member-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        border-color: rgba(212, 163, 115, 0.3);
        transform: translateY(-2px);
    }

    .search-member-card .member-img {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--border-color);
        transition: border-color 0.3s;
    }

    .search-member-card:hover .member-img {
        border-color: rgba(212, 163, 115, 0.4);
    }

    .search-member-card .member-name {
        flex: 1;
        font-weight: 700;
        font-size: 15px;
        color: var(--text-color);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search-member-card .arrow-icon {
        color: rgba(43, 43, 43, 0.2);
        opacity: 0;
        transform: translateX(0);
        transition: all 0.3s;
        font-size: 16px;
    }

    .search-member-card:hover .arrow-icon {
        opacity: 1;
        transform: translateX(4px);
    }

/* States */
.search-loading,
.search-empty,
.search-hint {
    text-align: center;
    padding: 32px 20px;
    animation: fadeIn 0.4s ease-out;
}

.search-loading {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.search-empty {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 20px;
}

.search-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--background-color);
    margin-bottom: 16px;
    font-size: 24px;
    color: rgba(43, 43, 43, 0.3);
}

.search-empty p:first-of-type {
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.search-empty p:last-of-type {
    font-size: 14px;
    color: rgba(43, 43, 43, 0.5);
    margin-top: 4px;
}

.search-hint {
    color: rgba(43, 43, 43, 0.4);
    font-size: 14px;
}

/* Spinner */
.spinner-sm {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-bottom: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

