﻿/* Payment Gateway — shared chrome & legacy RazorPay page styles */

:root {
    --pg-gold: #b8955a;
    --pg-gold-deep: #9a7845;
    --pg-gold-soft: rgba(184, 149, 90, 0.14);
    --pg-ink: #1a2332;
    --pg-ink-muted: #5c6b7a;
    --pg-surface: #f3f5f8;
    --pg-panel: #ffffff;
    --pg-line: rgba(26, 35, 50, 0.08);
    --pg-shadow: 0 18px 50px rgba(26, 35, 50, 0.08);
    --pg-radius: 18px;
    --pg-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    --pg-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: var(--pg-gold-deep);
}

.btn-primary {
    color: #fff;
    background-color: var(--pg-gold);
    border-color: var(--pg-gold);
}

    .btn-primary:hover,
    .btn-primary:focus {
        color: #fff;
        background-color: var(--pg-gold-deep);
        border-color: var(--pg-gold-deep);
    }

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: var(--pg-gold);
    border-color: var(--pg-gold);
}

html {
    font-size: 15px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid var(--pg-line);
}

.border-bottom {
    border-bottom: 1px solid var(--pg-line);
}

.box-shadow {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
.pg-body {
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
    font-family: var(--pg-font);
    color: var(--pg-ink);
    background: var(--pg-surface);
    -webkit-font-smoothing: antialiased;
}

.pg-ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 55% at 10% -10%, rgba(184, 149, 90, 0.22), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 0%, rgba(45, 90, 110, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(184, 149, 90, 0.08), transparent 45%),
        linear-gradient(165deg, #eef1f5 0%, #f7f5f1 48%, #e8edf2 100%);
}

    .pg-ambient::after {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0.35;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a2332' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

.pg-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid var(--pg-line);
    animation: pg-fade-down 0.55s var(--pg-ease) both;
}

.pg-navbar {
    padding: 0.85rem 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

.pg-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.pg-brand,
.logocl {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pg-ink);
}

.pg-brand-text {
    line-height: 1.2;
}

.logoimgcl {
    width: 100%;
    max-width: 88px;
    height: auto;
    object-fit: contain;
}

.pg-main-wrap {
    position: relative;
}

.pg-main,
main {
    min-height: calc(100vh - 180px);
    padding-bottom: 2rem;
    animation: pg-fade-up 0.6s var(--pg-ease) 0.08s both;
}

.footer,
.pg-footer {
    width: 100%;
    white-space: nowrap;
    display: grid;
    place-items: center;
    background: transparent;
    color: var(--pg-ink-muted);
    border-top: 1px solid var(--pg-line);
    margin-top: auto;
}

    .footer > div,
    .pg-footer > div {
        display: grid;
        place-items: center;
        background: transparent;
        color: var(--pg-ink-muted);
        height: 4.5rem;
        font-size: 0.875rem;
        letter-spacing: 0.02em;
        font-weight: 500;
    }

@keyframes pg-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

@keyframes pg-fade-down {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

/*----------------- Legacy RazorPay / sidebar checkout -----*/

#bg-div {
    margin: 0;
}

#border-btm {
    padding-bottom: 20px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--pg-line);
    box-shadow: none;
}

#test {
    margin-top: 0;
    margin-bottom: 40px;
    border: 1px solid #FFE082;
    border-radius: 0.25rem;
    width: 60px;
    height: 30px;
    background-color: #FFECB3;
}

.active1 {
    color: var(--pg-gold) !important;
    font-weight: bold;
}

.bar4 {
    width: 35px;
    height: 5px;
    background-color: #ffffff;
    margin: 6px 0;
}

.list-group .tabs {
    color: var(--pg-ink);
}

#menu-toggle {
    height: 50px;
}

#new-label {
    padding: 2px;
    font-size: 10px;
    font-weight: bold;
    background-color: #c0392b;
    color: #ffffff;
    border-radius: 5px;
    margin-left: 5px;
}

#sidebar-wrapper {
    margin-left: -15rem;
    transition: margin .25s ease-out;
    background: #161b22 !important;
    border-right: 1px solid rgba(184, 149, 90, 0.25) !important;
}

    #sidebar-wrapper .sidebar-heading {
        padding: 0.875rem 1.25rem;
        font-size: 1.2rem;
    }

    #sidebar-wrapper .list-group {
        width: 15rem;
    }

#page-content-wrapper {
    min-width: 100vw;
    padding-left: 24px;
    padding-right: 24px;
    background: var(--pg-panel);
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

.list-group-item.active {
    z-index: 2;
    border-color: transparent !important;
    background: var(--pg-gold) !important;
    color: #fff !important;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
        display: none;
    }
}

.card0 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
    overflow: hidden;
    box-shadow: var(--pg-shadow);
    background: var(--pg-panel);
}

.top-highlight {
    color: var(--pg-gold);
    font-weight: 700;
    font-size: 1.15rem;
}

.form-card input,
.form-card textarea {
    padding: 10px 15px 5px 15px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    margin-bottom: 25px;
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--pg-font);
    color: var(--pg-ink);
    font-size: 14px;
    letter-spacing: 0.02em;
}

    .form-card input:focus,
    .form-card textarea:focus {
        box-shadow: 0 0 0 3px rgba(184, 149, 90, 0.25) !important;
        border: 1px solid var(--pg-gold);
        outline-width: 0;
        font-weight: 600;
    }

input.btn-success {
    height: 50px;
    color: #ffffff;
    opacity: 0.9;
}

#below-btn a {
    font-weight: bold;
    color: #000000;
}

.input-group {
    position: relative;
    width: 100%;
    overflow: hidden;
}

    .input-group input {
        position: relative;
        height: 90px;
        margin-left: 1px;
        margin-right: 1px;
        border-radius: 6px;
        padding-top: 30px;
        padding-left: 25px;
    }

    .input-group label {
        position: absolute;
        height: 24px;
        background: none;
        border-radius: 6px;
        line-height: 48px;
        font-size: 15px;
        color: gray;
        width: 100%;
        font-weight: 100;
        padding-left: 25px;
    }

input:focus + label {
    color: var(--pg-gold-deep);
}

#qr {
    margin-bottom: 50px;
    margin-top: 50px;
    text-align: center;
}

.stripe-button-el {
    margin-top: 20px;
    width: 100%;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

    .stripe-button-el span {
        padding: 4px !important;
        height: 100% !important;
        background: #2ea549 !important;
        font-weight: normal !important;
        font-family: inherit !important;
        background-image: none !important;
        border: none !important;
        box-shadow: none !important;
        font-size: 16px !important;
    }

        .stripe-button-el :hover {
            background: #19458c !important;
        }

.imglogowh {
    width: 100%;
    max-width: 220px;
    height: auto;
    margin-bottom: 1rem;
}

.sidebarptpb {
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

.diffCurrency {
    text-align: right;
}

.pgheading {
    margin-top: 35px;
    margin-bottom: 1.5rem;
}

.icon {
    margin-right: 5px;
}

#sidebar-wrapper .list-group-item {
    background: transparent;
    color: var(--pg-gold);
    border: none;
    border-radius: 10px;
    margin: 0.35rem 0.75rem;
    transition: background 0.25s var(--pg-ease), color 0.25s var(--pg-ease);
}

    #sidebar-wrapper .list-group-item:hover {
        background: rgba(0, 0, 0, 0.35);
        color: #fff;
    }

body[dir="rtl"] .pg-brand,
body[dir="rtl"] .logocl {
    flex-direction: row-reverse;
}

body[dir="rtl"] .pg-nav-inner {
    flex-direction: row-reverse;
}

@media screen and (max-width: 767px) {
    .logocl,
    .pg-brand,
    .responsivecard {
        flex-direction: column;
        align-items: flex-start;
        font-size: 1rem;
    }

    .pg-nav-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    #sidebar-wrapper {
        margin-left: 0 !important;
    }

    .list-group {
        width: 100% !important;
        flex-direction: row;
    }

    .imglogowh {
        width: 100%;
        max-width: 180px;
        height: auto;
    }

    .list-group-flush:last-child .list-group-item:last-child {
        margin-bottom: 0;
        border-bottom: solid 1px #ccc;
    }

    .list-group-item.active {
        border-color: transparent !important;
        background: var(--pg-gold) !important;
        color: #fff !important;
    }

    .sidebarptpb {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .list-group-item {
        padding: 5px 5px !important;
        border-right: solid 1px #ccc !important;
        border-color: #ccc !important;
        width: 100%;
    }

    .diffCurrency {
        text-align: center;
    }

    #qr {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .page-content-wrapper {
        min-width: 100% !important;
    }

    .pgheading {
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .icon {
        margin-right: 3px;
        font-size: 10px;
    }

    .pgname {
        font-size: 12px;
    }
}
