body {
    background-color: #fff3cd !important;
}

.note-editable {
    height: 300px;
    background-color: white;
    color: black;
}

.note-editor .dropdown-toggle::after {
    display: none;
}

.nav-link img {
    float: left;
    width: 30px;
    margin-top: -3px;
    margin-right: 6px;
}

.home-opt-card {
    flex: 0 0 calc(34% - 10px);
    box-sizing: border-box;
    background-color: #ffffff99;
    padding: 10px;
    text-align: center;
    width: 34%;
    border: 2px solid var(--bs-highlight-bg) !important;
    border-radius: 15px;
    border: 0 !important;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-opt-card a {
    flex-direction: column;
    font-size: 13px;
}

.home-opt-card img {
    width: 70%;
}

.hero-section {
    border-radius: 16px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-title {
    font-size: 15px;
    /* letter-spacing: -0.02em; */
    background: var(--bs-black);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.hero-subtitle {
    font-size: small;
    color: var(--bs-gray-700);
    font-weight: 400;
}

.icon-decoration {
    display: inline-flex;
    gap: 1rem;
    font-size: 1.25rem;
    margin-top: 30px;
}

.icon-decoration i {
    animation: float 3s ease-in-out infinite;
    color: #ffc107;
    opacity: 0.8;
}

.icon-decoration i:nth-child(2) {
    animation-delay: 0.5s;
}

.icon-decoration i:nth-child(3) {
    animation-delay: 1s;
}

.icon-decoration i:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Inline styles extracted from twig files */

/* base.html.twig - Offcanvas styles - Mobile Optimized */
/* refined offcanvas styles */
.offcanvas-start-custom {
    width: 85% !important;
    max-width: 320px !important;
    background: #ffffff;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.offcanvas-backdrop.show {
    opacity: 0.4;
    backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.5);
}

.offcanvas-header-custom {
    background: linear-gradient(135deg, #fffbf0 0%, #fff8e1 100%);
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.user-profile-header {
    position: relative;
    z-index: 2;
}

.user-avatar-placeholder,
.app-logo-circle {
    width: 52px;
    height: 52px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffc107;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.15);
    flex-shrink: 0;
    border: 2px solid #ffecb3;
}

.offcanvas-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    opacity: 0.4;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    transition: all 0.2s;
    /* Removed filter invert to keep it dark on light background */
}

.offcanvas-close-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.offcanvas-close-btn:active {
    opacity: 0.8;
    transform: scale(0.9);
}

.offcanvas-body-custom {
    padding-bottom: 60px !important;
}



.sidebar-menu-item a {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    color: #555;
    font-weight: 600;
    /*border-radius: 12px;*/
    transition: all 0.2s ease;
    font-size: 15px;
}

/* Active State Design */
.sidebar-menu-item a.active {
    background-color: transparent;
    color: #dfa505;
    /* Deep Gold */
}

/* Icon Wrapper Design */
.icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-right: 16px;
    background-color: #fff8e196;
    color: #ffc107;
    font-size: 23px;
    transition: all 0.2s;

    /* border: 1px solid transparent;*/
}

/* Active Icon State */
.sidebar-menu-item a.active .icon-wrapper {
    background-color: #ffc107;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    transform: translateY(-1px);
}

.menu-text {
    flex-grow: 1;
}

.active-indicator {
    font-size: 12px;
    color: #ffc107;
}

.sidebar-section-title {
    font-size: 11px;
    font-weight: 800;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-divider {
    border-top: 1px solid #f1f1f1;
    margin: 10px 0;
    background: none;
    height: 0;
}

.offcanvas-decoration-1,
.offcanvas-decoration-2,
.sidebar-section-title::before,
.sidebar-divider::after {
    display: none;
}

#leftOffcanvas .offcanvas-body {
    scrollbar-width: thin;
    scrollbar-color: #ffd24d #f5f5f5;
}

#leftOffcanvas .offcanvas-body::-webkit-scrollbar {
    width: 4px;
}

#leftOffcanvas .offcanvas-body::-webkit-scrollbar-track {
    background: #f5f5f5;
}

#leftOffcanvas .offcanvas-body::-webkit-scrollbar-thumb {
    background: #ffd24d;
    border-radius: 10px;
}

/* Admin and User Base styles */
.sidebar-overflow {
    overflow-y: auto;
}

.content-wrapper-custom {
    min-height: 381px;
}

.admin-brand-link {
    /* background-color: #ff3636; */
    padding: 15px 25px;
}

/* Form styles */
.form-group-no-margin {
    margin-bottom: 0px;
}

.form-control-height-38 {
    height: 38px;
}

.form-control-height-40 {
    height: 40px;
}

/* Admin SMS styles */
.sms-table-row {
    height: 90px;
}

.font-weight-bold {
    font-weight: bolder;
}

.text-blue-custom {
    color: blue;
}

.sms-status-bar {
    width: 100%;
    height: 2px;
}

.font-size-15 {
    font-size: 15px;
}

/* Admin index styles */
.font-size-12 {
    font-size: 12px;
}

/* baseInclude styles */
.nav-link-profile {
    padding: 0;
    padding: 8px;
}

/* User profile styles */
.profile-image-input {
    display: none;
}

.user-image-bg {
    background-size: cover;
    background-position: center;
}

.image-modal-container {
    position: relative;
    width: 100%;
    max-height: 500px;
}

/* Registration and Password Reset styles */
.text-line-height-13 {
    line-height: 1.3;
}

.error-alert-margin {
    margin-top: 7px;
    margin-bottom: -6px;
}

.text-align-justify {
    text-align: justify;
}

/* Horoscope daily predictions styles */
.progress-width-140 {
    width: 140px;
    height: 10px;
}

/* ArtgrisFileManager styles */
.progress-bar-initial {
    width: 0;
}

.table-margin-top-negative {
    margin-top: -45px;
}

.progress-bar-dynamic {
    width: 0%;
}

/* Love Compatibility Modal Styles */
.compat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 25, 0);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    animation: fadeInOverlay 300ms ease forwards;
}

@keyframes fadeInOverlay {
    from {
        background: rgba(11, 15, 25, 0);
    }

    to {
        background: rgba(11, 15, 25, 0.55);
    }
}

.compat-overlay.closing {
    animation: fadeOutOverlay 200ms ease forwards;
}

@keyframes fadeOutOverlay {
    from {
        background: rgba(11, 15, 25, 0.55);
    }

    to {
        background: rgba(11, 15, 25, 0);
    }
}

.compat-modal {
    width: 94%;
    max-width: 720px;
    border-radius: 12px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.45);
    transform: translateY(40px);
    opacity: 0;
    transition: all 280ms ease-out;
    position: relative;
    animation: modalPopFromBottom 280ms ease-out forwards;
}

@keyframes modalPopFromBottom {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.compat-modal.closing {
    animation: modalSlideDown 200ms ease-in forwards;
}

@keyframes modalSlideDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(30px);
        opacity: 0;
    }
}

.compat-close {
    position: absolute;
    right: 14px;
    top: 10px;
    border: 0;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.compat-content {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.compat-person {
    display: flex;
    gap: 12px;
    align-items: center;
}

.compat-avatar {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    overflow: hidden;
    flex: 0 0 84px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f0f0f0;
}

.compat-avatar img {
    max-width: 76px;
    max-height: 76px;
    display: block;
}

.compat-info {
    min-width: 140px;
}

.compat-name {
    font-weight: 800;
    font-size: 18px;
    color: #222;
}

.compat-label {
    font-size: 12px;
    color: #777;
    margin-top: 6px;
}

.compat-score-section {
    text-align: center;
    flex: 1;
}

.compat-score {
    font-weight: 900;
    font-size: 34px;
    color: #ff9800;
}

.compat-desc {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.compat-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.compat-share {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.compat-proceed {
    padding: 10px 16px;
    border-radius: 10px;
    border: 0;
    background: linear-gradient(90deg, #ffd54f, #ffc107);
    color: #111;
    font-weight: 800;
    cursor: pointer;
}

/* Prompt Modal Styles */
.compat-prompt {
    width: 90%;
    max-width: 420px;
    border-radius: 10px;
    background: #fff;
    padding: 18px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
}

.compat-prompt-title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 8px;
}

.compat-prompt-text {
    color: #666;
    margin-bottom: 14px;
}

.compat-prompt-ok {
    padding: 10px 14px;
    border-radius: 8px;
    border: 0;
    background: #ffb300;
    color: #111;
    font-weight: 700;
    cursor: pointer;
    width: 50%;
}

.register-bg {
    min-height: 100vh;
    font-family: 'Raleway', 'Segoe UI', Arial, sans-serif;
}

.register-card {
    background: #2b2f32;
    border: 1.5px solid #ffd700;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
    padding: 2.5rem 2rem 2rem 2rem;
    margin-top: 2rem;
}

.register-title {
    color: #ffd700;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 2rem;
}

.register-hr {
    border-top: 2px solid #ffd700;
    margin: 1.2rem 0 2rem 0;
}

.register-label {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.register-input,
.otp {
    /* background: #232323 !important; */
    color: #000000 !important;
    border: 1.5px solid #ffd700 !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    padding: 0.7rem 1rem !important;
    margin-bottom: 0.5rem !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.register-input:focus,
.otp:focus {
    border-color: #ffb300 !important;
    box-shadow: 0 0 0 2px #ffd70033 !important;
    /* background: #232323 !important; */
    color: #000000 !important;
}

.register-btn {
    background: linear-gradient(91deg, #c95c00 0%, #ffd700 100%) !important;
    color: #181818 !important;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 1.15rem;
    padding: 0.8rem 0;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.08);
    transition: background 0.2s, color 0.2s;
}

.register-btn:hover,
.register-btn:focus {
    background: linear-gradient(91deg, #ffd700 0%, #c95c00 100%) !important;
    color: #000 !important;
}

.register-link {
    color: #ffd700;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.register-link:hover {
    color: #fffbe6;
    text-decoration: underline;
}

.register-divider {
    border-top: 1.5px solid #ffd700;
    margin: 2rem 0 0.5rem 0;
}

.color-blue,
.nitro-normal {
    color: #ffd700 !important;
}

.fa-mobile-alt {
    color: #ffd700;
}

.register-checkbox {
    accent-color: #ffd700;
    width: 18px;
    height: 18px;
}

.register-label-checkbox {
    color: #ffd700;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

/* Common Header Card Styles - For Horoscope, Kundli, and other major pages */
.page-header-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff3cd 100%);
    padding: 30px 20px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
    z-index: 0;
}

@keyframes rotateGradient {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.page-header-title {
    font-size: 20px;
    font-weight: 800;
    color: #2c3e50;
    font-family: 'OpenSans-ExtraBold', sans-serif;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.page-app-body {
    padding: 20px 15px;
    background: #fff;
    border-radius: 0 0 16px 16px;
    position: relative;
    z-index: 1;
}

@media (max-width: 480px) {
    .page-app-body {
        padding: 15px;
    }
}

.page-header-subtitle {
    font-size: 15px;
    color: #64748b;
    font-family: 'OpenSans-Regular', sans-serif;
    position: relative;
    z-index: 1;
    margin: 0;
    line-height: 1.5;
}

/* Home Card Grid Styles - Moved from home/index.html.twig */
.cards-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.card-item {
    background: #fffbed;
    border-radius: 20px;
    padding: 15px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 6px 0px 0px rgb(255 210 77);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 2px solid #ffd24d;
}

.card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff9a56, #ff6b6b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Card gradients */
.card-item:nth-child(1)::before {
    background: linear-gradient(90deg, #8e44ad, #9b59b6);
}

.card-item:nth-child(2)::before {
    background: linear-gradient(90deg, #f39c12, #f1c40f);
}

.card-item:nth-child(3)::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.card-item:nth-child(4)::before {
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.card-item:nth-child(5)::before {
    background: linear-gradient(90deg, #16a085, #1abc9c);
}

.card-item:nth-child(6)::before {
    background: linear-gradient(90deg, #e67e22, #d35400);
}

.card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.card-item:hover::before {
    opacity: 1;
}

.card-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 16px;
    width: 100%;
}

.card-icon {
    width: 95px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 10px;
}

.card-item:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card-item span {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'OpenSans-Bold', sans-serif;
    line-height: 1.3;
}

/* Removed the 3-column grid for large screens to maintain mobile 2-column UI on PC */
/* 
@media (min-width: 768px) {
    .cards-wrap {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 900px;
        margin: 0 auto 30px;
    }

    .card-item {
        padding: 15px 24px;
    }

    .card-icon {
        width: 100px;
        height: 100px;
        padding: 20px;
    }

    .card-item span {
        font-size: 18px;
    }
}
*/

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .card-item {
        padding: 15px 16px;
    }

    .card-icon {
        width: 95px;
        height: 95px;
    }

    .card-item span {
        font-size: 14px;
    }
}

/* Header Back Button */
.back-btn-header {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s;
    z-index: 10;
}

.back-btn-header:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #000;
    transform: translateX(-3px);
}

@media (max-width: 480px) {
    .back-btn-header {
        width: 32px;
        height: 32px;
        top: 30px;
        left: 15px;
    }

    /* Mobile 3-column layout modifier */
    .cards-wrap.cols-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .cards-wrap.cols-3 .card-item {
        padding: 10px 4px;
        border-radius: 12px;
    }

    .cards-wrap.cols-3 .card-icon {
        width: 55px;
        height: 55px;
        padding: 5px;
        margin: 0 auto 5px;
    }

    .cards-wrap.cols-3 .card-item span {
        font-size: 13px;
        line-height: 1.2;
    }
}