:root {
    --primary-color: #8B0000;
    --secondary-color: #ffd700;
    --accent-color: #ff6f00;
    --text-dark: #2c1810;
    --bg-cream: #fff8e1;
}

body {
    font-family: 'Noto Sans Devanagari', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.8;
}

/* Hero Section */
.hero-section {
    background-image: url("../img/hero-img.png");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    height: 500px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 15.5px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-login {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-login:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(179, 0, 0, 0.25);
}

.btn-register {
    background: linear-gradient(135deg, #ffd700, #ffcc00);
    color: #000;
    border: none;
    padding: 10px 24px;
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.35);
}

.btn-register:hover {
    background: linear-gradient(135deg, #ffe44d, #ffd700);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 22px rgba(255, 215, 0, 0.5);
}

/* Alert Box */
.alert-closed {
    background: linear-gradient(45deg, #ff6f00, #ff8f00);
    color: white;
    border: none;
    border-radius: 195px;
    padding: 30px;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(255, 111, 0, 0.3);
    margin: -70px auto 40px;
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    border: 3px solid white;
}

/* Cards */
.info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.2rem;
    margin: 60px 0 40px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* App Section */
.app-section {
    background: #8B0000;
    color: white;
    padding: 60px 60px;
    border-radius: 30px;
    margin: 40px 0;
}

.app-section h2 {
    font-weight: 700;
    font-size: 42px;
}

.app-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.btn-app {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    padding-top: 18px;
    gap: 10px;
    margin-top: 20px;
    transition: all 0.3s ease;
    align-items: center;
}

.btn-app:hover {
    background-color: white;
    transform: scale(1.05);
    color: var(--primary-color);
}

/* Fee Structure */
.fee-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px dashed var(--accent-color);
    border-radius: 15px;
    padding: 25px;
    margin: 15px 0;
    text-align: center;
}

.fee-amount {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: -14px !important;
    margin-bottom: -20px;
}

.deadline {
    background-color: #ffebee;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

/* Contact Section */
.contact-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;

}

.warning-box {
    font-size: 19px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.phone-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin: -5px 0;
}


/* Important Notice */
.notice-box {
    background: #fff3cd;

    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.notice-title {
    color: #856404;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Warning Box */
.warning-box {
    background: #f8d7da;
    padding: 20px;
    border-radius: 100px;
    margin: 20px 0;
    color: #721c24;
}

/* Bonus Offer */
.bonus-card {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: var(--text-dark);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    margin: 30px 0;
}

.bonus-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.highlight {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 16px;
    font-weight: 600;
    border-radius: 42px;
    display: inline-flex;
}

.modal-body button {
    padding: 15px;
    border-radius: 52px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 13px .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 11px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-label {
    margin-bottom: 0px;
    font-weight: 600;
}

.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #dc35451f;
    outline: 0;
    box-shadow: 0 0 0 .25rem #dc35451c;
}

.modal-content {
    border-radius: 20px;
}

.modal-header {
    border-radius: 20px 20px 0px 0px;
}

.modal-footer {
    border-radius: 0px 0px 20px 20px;
}

.emoji-large {
    font-size: 1.5rem;
}


svg {
    vertical-align: middle;
    margin-top: -5px;
}

.title-name {
    font-size: 18px;
}

.title-name a {
    font-size: 20px;
    font-weight: 600;
    color: #721c24;
}

.btn-custom svg {
    font-size: 18px !important;
    margin-top: 0px !important;
}

.svg-round svg {
    background-color: #FFF8E1;
    color: #8b0000 !important;
    font-weight: 700;
    padding: 11px;
    border-radius: 52px;
    font-size: 49px !important;
    margin-right: 17px !important;
}

.otp-container {
    max-width: 500px;
    margin: 80px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.otp-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Stepper Styles */
.stepper-header {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.step-progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.step-progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.4s ease;
}

.step-item {
    display: none;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.step-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stepper-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.word-limit-text {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: right;
    margin-top: 5px;
}

.conditional-fields {
    display: none;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.conditional-fields.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.bg-theme-body {}

.bg-theme-nav {
    background-color: #8e0000;
}

.text-theme-primary {
    color: var(--primary-color);
}

.v-align-middle {
    vertical-align: middle;
}

.btn-stepper {
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

.badge {

    padding: 12px 22px;
    padding-top: 16px;
    border-radius: 42px;
    background-color: #198754 !important;

}

.btn-stepper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Upload Card Styles */
.upload-card {
    border: 2px dashed #ccc;
    border-radius: 15px;
    padding: 30px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.upload-card:hover {
    border-color: var(--primary-color);
    background: #fff8f8;
    transform: translateY(-5px);
}

.upload-preview {
    display: none;
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 15px;
}

.upload-preview-container {
    position: relative;
}

.remove-upload {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    border: none;
    display: none;
    z-index: 10;
    padding-top: 6px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-custom {
        width: 100%;
        margin: 10px 0;
    }

    .app-section img {
        width: 100%;
    }

    .app-section {

        padding: 60px 20px;

    }

    .alert-closed {

        border-radius: 20px;

    }

    .warning-box {
        background: #f8d7da;
        padding: 20px;
        border-radius: 20px;
        margin: 20px 0;
        color: #721c24;
    }

    .hero-section {

        height: 570px;
    }
}

/* Details Page Styles */
.status-bar {
    background-color: #ffffff;
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.status-item {
    margin: 0 15px;
    display: inline-block;
    color: var(--text-dark);
}

.status-code {
    color: var(--primary-color);
    background: white;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
}

.user-top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logout-btn {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: none;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.logout-btn:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.details-container {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin: 40px auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.detail-section-title {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.6rem;
    text-align: center;
    margin: 50px 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.detail-section-title::before,
.detail-section-title::after {
    content: '';
    height: 2px;
    flex: 0 1 50px;
    background: linear-gradient(to right, transparent, var(--secondary-color));
}

.detail-section-title::after {
    background: linear-gradient(to left, transparent, var(--secondary-color));
}

.detail-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f9f9f9;
    font-size: 1rem;
}

.detail-label {
    width: 220px;
    font-weight: 600;
    color: #555;
}

.detail-separator {
    width: 30px;
    font-weight: 600;
    color: var(--secondary-color);
}

.detail-value {
    flex: 1;
    color: var(--text-dark);
    font-weight: 500;
}

.profile-img-preview {
    width: 160px;
    height: 200px;
    border-radius: 15px;
    border: 3px solid var(--secondary-color);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.profile-img-preview img {
    max-width: 100%;
    max-height: 100%;
}

.pay-now-section {
    text-align: center;
    margin-bottom: 40px;
}

.pay-btn-small {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.2);
}

.pay-btn-small:hover {
    background-color: #a50000;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(139, 0, 0, 0.3);
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.detail-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: left;
    border: none;
    font-size: 0.95rem;
}

.detail-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #555;
}

/* Payment Page Styles */
.payment-wrapper {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.ui-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.ui-card:hover {
    transform: translateY(-5px);
}

.ui-card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ui-card-title .iconify {
    font-size: 2rem;
}

.highlight-box {
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.highlight-yellow {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
}

.highlight-blue {
    background-color: #e3f2fd;
    border: 1px solid #dee2e6;
}

.box-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.box-title.yellow {
    color: #856404;
}

.box-title.blue {
    color: #0d47a1;
}

.text-marathi {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #444;
}

.payment-section {
    max-width: 600px;
    margin: 50px auto;
}

.payment-form-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.payment-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 1.3rem;
}

.payment-body {
    padding: 30px;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.fee-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.fee-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-control-custom {
    width: 90px;
    text-align: center;
    border-radius: 8px;
    padding: 8px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    font-weight: 600;
}

.total-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.total-val {
    font-size: 2rem;
    font-weight: 800;
    color: #198754;
}

.btn-payment {
    width: 100%;
    padding: 13px;
    background: #198754;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
    padding-top: 19px;
}

.btn-payment:hover {
    background: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(13, 110, 253, 0.3);
}

.footer-note {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-top: 20px;
    line-height: 1.6;
}

.upi-notice {
    color: #d32f2f;
    text-align: center;
    margin-bottom: 30px;
}

.brand-heading {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.badge-offer {
    background: #ffebee;
    color: #d32f2f;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
}

/* ==========================================================================
   Dashboard Layout Styles (After Login Web View)
   ========================================================================== */
.db-wrapper {
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar navigation */
.db-sidebar {
    width: 280px;
    background-color: var(--primary-color);
    background-image: linear-gradient(180deg, var(--primary-color) 0%, #660000 100%);
    color: white;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.db-sidebar-brand {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.db-sidebar-brand img {
    height: 38px;
    width: auto;
}

.db-sidebar-brand span {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
}

.db-sidebar-profile {
    padding: 20px 25px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.1);
}

.db-profile-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--primary-color);
    font-size: 2.2rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.db-profile-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: white;
}

.db-profile-status {
    font-size: 0.8rem;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 3px 16px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.2);
    padding-top: 6px;
}

.db-sidebar-menu {
    list-style: none;
    padding: 15px 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
}

.db-menu-item {
    margin-bottom: 3px;
}

.db-menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.02rem;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.db-menu-link:hover {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.08);
    padding-left: 29px;
}

.db-menu-item.active .db-menu-link {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.12);
    border-left-color: var(--secondary-color);
    font-weight: 700;
}

.db-menu-link .iconify {
    font-size: 1.3rem;
}

.db-sidebar-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.15);
}

.btn-db-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--text-dark) !important;
    border: none;
    padding: 10px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-db-logout:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Dashboard Content Area */
.db-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: var(--bg-cream);
}

.db-header {
    background-color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.db-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-dark);
    cursor: pointer;
    display: none;
    padding: 0;
}

.db-header-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.db-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.db-header-nav-status {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.85rem;
    font-weight: 600;
}

.db-status-badge {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
    border: 1px solid #c8e6c9;
}

.db-header-icon-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #555;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.db-header-icon-btn:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.db-header-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #dc3545;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard Main Window */
.db-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.db-pane {
    display: none;
}

.db-pane.active {
    display: block;
    animation: dbPaneFadeIn 0.4s ease;
}

@keyframes dbPaneFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overview Section Styling */
.db-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.db-title-bar h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Statistics cards grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stats-card {
    background-color: white;
    border-radius: 18px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(139, 0, 0, 0.08);
    border-color: rgba(139, 0, 0, 0.08);
}

.stats-info h3 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.stats-info p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.stats-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.stats-icon.red {
    background-color: #ffebee;
    color: var(--primary-color);
}

.stats-icon.gold {
    background-color: #fffde7;
    color: #f57f17;
}

.stats-icon.blue {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.stats-icon.green {
    background-color: #e8f5e9;
    color: #1b5e20;
}

/* Quick App Grid (Mobile View Screen 1 Style) */
.quick-grid-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 28px;
    margin-bottom: 35px;
}

.quick-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 18px;
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(139, 0, 0, 0.08);
    border-color: var(--primary-color);
    background-color: #fffaf0;
}

.quick-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fff3e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.4rem;
    transition: all 0.25s ease;
}

.quick-card:hover .quick-card-icon {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: scale(1.1);
}

.quick-card:hover .quick-card-icon svg,
.quick-card:hover .quick-card-icon .iconify,
.quick-card:hover .quick-card-icon span {
    color: white !important;
}

.quick-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.quick-card-count {
    font-size: 0.75rem;
    font-weight: 700;
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 1px 7px;
    border-radius: 10px;
    display: inline-block;
    position: absolute;
}

/* Profile List Card Layout */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.profile-preview-card {
    background-color: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.profile-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.1);
    border-color: rgba(139, 0, 0, 0.08);
}

.profile-card-header {
    height: 260px;
    background-color: #faf6f0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 3px solid var(--secondary-color);
}

.profile-card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.profile-card-header .avatar-placeholder {
    font-size: 4rem;
    color: rgba(139, 0, 0, 0.2);
}

.profile-gender-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    border: solid 1px;
    height: 29px;
}

.profile-gender-badge.bride {
    background-color: #e91e63;
}

.profile-gender-badge.groom {
    background-color: #0288d1;
}

.profile-card-body {
    padding: 20px;
    flex-grow: 1;
}

.profile-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.profile-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: #555;
    margin-bottom: 8px;
}

.profile-info-row .iconify {
    color: var(--accent-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.profile-card-actions {
    padding: 15px 20px;
    border-top: 1px solid #f5f5f5;
    background-color: #fafafa;
    display: flex;
    gap: 10px;
}

.btn-card-action {
    flex: 1;
    border-radius: 50px;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 0.88rem;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-card-action.btn-view {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-card-action.btn-view:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-card-action.btn-contact {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.btn-card-action.btn-contact:hover {
    background-color: #ffed4e;
}

/* Connection Mela Layout */
.mela-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.mela-card {
    background-color: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

.mela-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(139, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.mela-card-header {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, #aa0000 100%);
    color: white;
    padding: 20px;
    position: relative;
}

.mela-status-tag {
    position: absolute;
    top: 15px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.mela-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.mela-card-body {
    padding: 20px;
}

.mela-info-item {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #555;
}

.mela-info-item .iconify {
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.mela-info-item strong {
    color: var(--text-dark);
}

.mela-card-footer {
    padding: 15px 20px;
    background-color: #fafafa;
    border-top: 1px solid #f5f5f5;
    text-align: center;
}

.btn-mela-register {
    background-color: var(--primary-color);
    color: white !important;
    border: none;
    padding: 8px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    width: 100%;
}

.btn-mela-register:hover {
    background-color: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.25);
}

/* Business / Property List Layout */
.property-tab-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.btn-prop-tab {
    background: none;
    border: none;
    padding: 8px 20px;
    font-weight: 700;
    color: #666;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-prop-tab.active {
    background-color: var(--primary-color);
    color: white;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.property-card {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.property-img {
    height: 180px;
    background-color: #faf5eb;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.property-type-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #2e7d32;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 46px;
    height: 25px;
}

.property-price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(139, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    color: white;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.95rem;
}

.property-body {
    padding: 20px;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.property-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.property-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #888;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.property-footer {
    padding: 15px 20px;
    background-color: #fafafa;
    border-top: 1px solid #f5f5f5;
    display: flex;
    gap: 10px;
}

/* Advertisements Layout */
.ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.advert-card {
    background-color: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.advert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.ad-badge-ribbon {
    position: absolute;
    top: 15px;
    left: -35px;
    background-color: #d32f2f;
    color: white;
    padding: 4px 35px;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(-45deg);
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.ad-img-box {
    height: 160px;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.ad-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ad-shop-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.ad-offer-text {
    font-weight: 700;
    color: #e65100;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.ad-description {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* News List Layout */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.news-card-box {
    background-color: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.news-img-box {
    height: 180px;
    overflow: hidden;
    position: relative;
    background-color: #faf5eb;
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card-box:hover .news-img-box img {
    transform: scale(1.05);
}

.news-date-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(139, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
}

.news-body-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* News Details Popup Overlay Modal */
.news-detail-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px;
}

.news-detail-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-detail-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.news-detail-desc {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
}

/* Help / Support CSS */
.support-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.support-person-card {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s;
}

.support-person-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.06);
    border-color: var(--secondary-color);
}

.support-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffebee;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.6rem;
}

.support-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.support-role {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 12px;
    font-weight: 500;
}

.support-phone {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.05rem;
}

/* Print View Styles for Biodata */
@media print {
    body * {
        visibility: hidden;
    }

    #my-profile-pane,
    #my-profile-pane * {
        visibility: visible;
    }

    #my-profile-pane {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        background: white;
    }

    .btn,
    .db-sidebar,
    .db-header,
    .pay-now-section {
        display: none !important;
    }
}

/* ==========================================================================
   Responsive styles for Dashboard
   ========================================================================== */
@media (max-width: 991px) {
    .db-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        margin-left: -280px;
    }

    .db-sidebar.show-sidebar {
        margin-left: 0;
    }

    .btn-sidebar-toggle {
        display: block;
    }

    .db-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
    }

    .db-sidebar-overlay.show-overlay {
        display: block;
    }

    .db-main {
        padding: 20px 15px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .db-header-nav-status {
        display: none;
    }
}

/* Button, Tab, and Badge Alignments & Color Alignments */
.btn-prop-tab {
    background: none !important;
    border: none !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    color: #4b5563 !important;
    border-radius: 50px !important;
    transition: all 0.25s ease !important;
    font-size: 0.92rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.btn-prop-tab.active {
    background-color: #fff1f2 !important;
    /* Light pink background */
    color: var(--primary-color) !important;
    /* Dark burgundy text */
    box-shadow: none !important;
}

/* Make sure all buttons use flex layout to center text and icons perfectly */
.btn,
.btn-custom,
.btn-stepper,
.btn-card-action,
.pay-btn-small,
.btn-db-logout,
.btn-mela-register,
.logout-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    text-align: center !important;
    gap: 6px !important;
    padding: 0px 22px;
    line-height: 1.2 !important;
    padding-top: 13px !important;
    padding-bottom: 10px !important;
    border-radius: 42px;
}

/* Specific button fixes for bootstrap pt-2 pt-3 overrides */
.logout-btn.pt-2,
.btn-stepper.pt-2,
.pay-btn-small.pt-3 {
    padding-top: 10px !important;
}

/* Badge text alignment and solid background check */
.badge,
.db-status-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px 12px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    line-height: 1 !important;
    padding-top: 7px !important;
    margin-left: 8px;
}

/* Align green counts on quick-cards exactly with Screen 1 */
.quick-card-count {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    background-color: #14725b !important;
    color: white !important;
    padding: 13px 14px !important;
    border-radius: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 4px !important;
    line-height: 1 !important;
    height: 10px;
    padding-top: 15px !important;
    bottom: -14px;
}

.search-db-icon svg {
    margin-top: 2px !important;
}

.quick-card-icon svg {
    margin-top: 0px;
}

#dashboard-service-search {
    padding-left: 40px;
    padding-top: 16px;
}

/* Custom CSS Classes to Replace Inline Styles */

/* Brand and Header Styles */
.db-brand-bg {
    background-color: #8e0000 !important;
}

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

/* Better Dropdown Design styling */
.db-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-dark) !important;
    font-weight: 600 !important;
}

.db-dropdown-toggle::after {
    display: none !important;
    /* Hide Bootstrap default arrow */
}

.db-dropdown-toggle:hover,
.db-dropdown-toggle[aria-expanded="true"] {
    background-color: rgba(139, 0, 0, 0.05);
    border-color: rgba(139, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.db-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.db-dropdown-avatar {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: block;
}

.db-status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
}

.db-status-indicator.online {
    background-color: #2ec4b6;
    /* Premium teal online indicator */
}

.db-user-info-text {
    line-height: 1.2;
}

.db-user-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.db-user-role {
    font-size: 0.72rem;
    color: #6c757d;
    font-weight: 500;
}

.db-dropdown-chevron {
    font-size: 1rem;
    color: #6c757d;
    transition: transform 0.25s ease;
}

.db-dropdown-toggle[aria-expanded="true"] .db-dropdown-chevron {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* Dropdown Menu styling */
.db-dropdown-menu {
    border-radius: 16px !important;
    padding: 8px !important;
    min-width: 250px !important;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background-color: white !important;
    margin-top: 12px !important;
    animation: dbDropdownFadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dbDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.db-dropdown-header {
    padding: 12px 14px;
    background: linear-gradient(135deg, #fffcf6 0%, #fff8e1 100%);
    border-radius: 10px;
    margin-bottom: 4px;
}

.db-dropdown-header-avatar {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

.db-header-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.db-header-status {
    font-size: 0.75rem;
    color: #2e7d32;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.db-header-status .iconify {
    font-size: 0.9rem;
}

.db-dropdown-item-wrap {
    margin-bottom: 2px;
}

.db-dropdown-item-wrap:last-child {
    margin-bottom: 0;
}

.db-dropdown-item-wrap .dropdown-item {
    border-radius: 10px;
    padding: 8px 12px !important;
    font-weight: 600;
    font-size: 0.92rem;
    color: #495057;
    transition: all 0.2s ease;
}

.db-dropdown-item-wrap .dropdown-item:hover {
    background-color: rgba(139, 0, 0, 0.04) !important;
    color: var(--primary-color) !important;
}

.db-dropdown-item-wrap .dropdown-item:hover .db-dropdown-icon-box {
    transform: scale(1.05);
}

.db-dropdown-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.db-dropdown-text {
    flex-grow: 1;
}

/* Helper color boxes for dropdown icons */
.bg-light-primary {
    background-color: #fff3f3;
}

.bg-light-warning {
    background-color: #fffde7;
}

.bg-light-danger {
    background-color: #ffebee;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-warning {
    color: #f57f17 !important;
}

.text-danger {
    color: #d32f2f !important;
}

/* Quick Card Icon Color Helper Classes */
.qc-color-red {
    background-color: #ffebee !important;
}

.qc-color-red svg,
.qc-color-red .iconify,
.qc-color-red span {
    color: #c62828 !important;
}

.qc-color-purple {
    background-color: #f3e5f5 !important;
}

.qc-color-purple svg,
.qc-color-purple .iconify,
.qc-color-purple span {
    color: #6a1b9a !important;
}

.qc-color-green {
    background-color: #e8f5e9 !important;
}

.qc-color-green svg,
.qc-color-green .iconify,
.qc-color-green span {
    color: #2e7d32 !important;
}

.qc-color-blue {
    background-color: #e3f2fd !important;
}

.qc-color-blue svg,
.qc-color-blue .iconify,
.qc-color-blue span {
    color: #1565c0 !important;
}

.qc-color-pink {
    background-color: #fce4ec !important;
}

.qc-color-pink svg,
.qc-color-pink .iconify,
.qc-color-pink span {
    color: #c2185b !important;
}

.qc-color-amber {
    background-color: #fff8e1 !important;
}

.qc-color-amber svg,
.qc-color-amber .iconify,
.qc-color-amber span {
    color: #ff8f00 !important;
}

.qc-color-teal {
    background-color: #e0f2f1 !important;
}

.qc-color-teal svg,
.qc-color-teal .iconify,
.qc-color-teal span {
    color: #00695c !important;
}

.qc-color-lightred {
    background-color: #fff5f5 !important;
}

.qc-color-lightred svg,
.qc-color-lightred .iconify,
.qc-color-lightred span {
    color: #c62828 !important;
}

.qc-color-gray {
    background-color: #f5f5f5 !important;
}

.qc-color-gray svg,
.qc-color-gray .iconify,
.qc-color-gray span {
    color: #374151 !important;
}

.qc-color-cyan {
    background-color: #e0f7fa !important;
}

.qc-color-cyan svg,
.qc-color-cyan .iconify,
.qc-color-cyan span {
    color: #00838f !important;
}

/* Banners, Cards and Info Boxes */
.db-footer-banner {
    border-radius: 12px;
    background-color: #fff5f5;
    border-left: 5px solid var(--primary-color) !important;
}

.db-footer-banner p {
    color: var(--primary-color) !important;
    font-size: 0.95rem;
}

.db-filter-card {
    background-color: white !important;
    border-radius: 15px;
}

.db-cc-notice-box {
    border-radius: 12px;
    background-color: white !important;
    border-left: 5px solid #d32f2f !important;
}

.db-cc-notice-box p {
    color: #721c24 !important;
    font-size: 0.95rem;
}

.db-post-property-container {
    display: none;
    background-color: white !important;
    border-radius: 20px;
}

.btn-submit-prop {
    background-color: var(--primary-color) !important;
    border-radius: 50px !important;
    padding: 10px 30px !important;
    border: none !important;
    color: white !important;
}

.db-pane .details-container {
    max-width: 100% !important;
    margin-top: 0 !important;
}

.pay-now-section h6 {
    color: var(--primary-color) !important;
}

.db-info-card {
    border-radius: 15px;
    background: white !important;
}

.db-info-card h4 {
    color: var(--primary-color) !important;
}

.db-info-card button[type="submit"] {
    background-color: var(--primary-color) !important;
    border-radius: 50px !important;
}

/* Modal Helpers */
.db-modal-primary-header {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.db-modal-secondary-header {
    background-color: var(--secondary-color) !important;
    color: var(--text-dark) !important;
}

.db-modal-btn-primary {
    background-color: var(--primary-color) !important;
    border: none !important;
    color: white !important;
}

.label-width-130 {
    width: 130px;
}

.label-width-100 {
    width: 100px;
}

.margin-right-5 {
    margin-right: 5px !important;
}

.db-modal-prof-phone-btn {
    background-color: var(--primary-color) !important;
    border-radius: 50px !important;
    color: white !important;
}

.db-news-detail-meta {
    font-size: 0.85rem !important;
    color: #888 !important;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

/* Navbar background */
.navbar-custom-bg {
    background-color: #8e0000 !important;
}

/* Common Text and Alignments */
.text-danger-custom {
    color: #d32f2f !important;
}

.text-gold-custom {
    color: #ffd700 !important;
}

.font-size-1rem-opacity-9 {
    font-size: 1rem !important;
    opacity: 0.9 !important;
}

.font-size-1-3rem {
    font-size: 1.3rem !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

.btn-success-custom {
    background-color: #4caf50 !important;
    border: none !important;
    color: white !important;
}

/* Iconify size helper classes */
.iconify-size-3-5rem {
    font-size: 3.5rem !important;
}

.iconify-size-2rem {
    font-size: 2rem !important;
}

.iconify-size-1-5rem {
    font-size: 1.5rem !important;
}

.iconify-size-1-2rem {
    font-size: 1.2rem !important;
}

/* Search and Reset filter buttons with perfect vertical alignment */
#reset-cc-btn {
    background-color: #f3f4f6 !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    color: #4b5563 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    height: 42px !important;
    padding: 0 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

#search-cc-btn {
    background-color: #dc2626 !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    color: white !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    height: 42px !important;
    padding: 0 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

/* Ensure other button texts align vertically */
.btn-card-action,
.pay-btn-small,
.btn-db-logout,
.btn-mela-register,
.logout-btn {
    font-family: system-ui, -apple-system, sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

/* Dynamically Generated Classes */
.cc-card {
    border-radius: 18px !important;
    background-color: white !important;
}

.cc-card-img {
    object-fit: cover !important;
    min-height: 180px !important;
}

.cc-share-btn {
    width: 38px !important;
    height: 38px !important;
}

.cc-share-icon {
    margin-top: -3px !important;
}

.ad-card-custom {
    border-radius: 20px !important;
    background-color: white !important;
}

.ad-icon-container {
    width: 60px !important;
    height: 60px !important;
    background-color: #e0f2fe !important;
    color: #0284c7 !important;
}

.ad-avatar-img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
}

.ad-phone-text {
    font-size: 0.9rem !important;
}

.border-top-dashed {
    border-top-style: dashed !important;
}

.btn-ad-details {
    background-color: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3 !important;
    border-radius: 50px !important;
}

.news-card-custom {
    border-radius: 20px !important;
    background-color: white !important;
}

.news-img-custom {
    object-fit: cover !important;
    min-height: 140px !important;
}

.btn-news-more {
    background-color: #f3f4f6 !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    border: none !important;
}

.news-share-btn {
    width: 36px !important;
    height: 36px !important;
}

.prop-type-sale {
    background-color: #2e7d32 !important;
}

.prop-type-rent {
    background-color: #e65100 !important;
}

.donor-card {
    border-radius: 15px !important;
    background: white !important;
}

.donor-badge {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.1rem !important;
    border-radius: 50% !important;
}

.btn-rounded-20 {
    border-radius: 20px !important;
}

.obituary-card-custom {
    border-radius: 15px !important;
    background: white !important;
    border-left: 4px solid #374151 !important;
}

.article-card-custom {
    border-radius: 15px !important;
    background: white !important;
}

.article-card-custom h5 {
    color: var(--primary-color) !important;
}