.account-summary {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  padding: 20px;
  border: 1px solid #e5e7eb;
  margin-bottom: 20px;
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  background: #eff6fb;
  padding: 0px 20px;
  border-radius: 13px;
  border: 1px solid #e0d5e8;
}

.summary-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #374151;
}

.summary-filters select {
  margin-left: 10px;
  padding: 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.summary-card {
  border-radius: 16px;
  padding: 16px;
  transition: transform 0.2s ease;
}

.summary-grids {
  display: flex;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.summary-cards {
  border-radius: 14px;
  padding: 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

/* White Cards */
.white-card {
  background: #fff;
  border: 1px solid #e0d5e8;
  border-radius: 20px !important;
  box-shadow: none !important;
  flex: 1 1 250px;
}

.white-card .icon {
  color: #38bdf8; /* light blue */
  font-size: 22px;
  margin-bottom: 8px;
}

.white-card p {
  font-size: 14px;
  color: #6b7280;
}

.white-card h3 {
  font-size: 32px;
  font-weight: 900;
  color: #22394c;
  margin: 0px;
}

/* Gradient Cards */
.gradient-card {
  color: white;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  justify-content: center !important;
  align-items: center;
  border-radius: 20px !important;
}

.gradient-card h3 {
  font-size: 32px;
  font-weight: 900;
  color: #fff !important;
  margin: 0px;
  text-align: center;
}
.gradient-card p {
  font-size: 14px;
  margin-top: 6px;
  text-align: center;
}

.total_out {
  display: flex;
  gap: 8px;
}
.gradient-card {
    background-image: url("../images/gbackground.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: #fff !important;
}
.total_out img.icon-img {
  width: 50px;
  height: 50px;
}
.filter_btn {
  border-radius: 8px;
  text-transform: none;
  font-weight: 500;
  padding-left: 16px;
  padding-right: 16px;
  margin-right: 8px;
  background-color: #f1f1f1;
}
button.btn-view {
  background: none;
  border: none;
  color: #398cf4;
  font-size: 15px;
}
.SelectDate .MuiSelect-select {
  font-family: var(--headingFontLight);
  border: 1px solid #1567a2cc;
  border-radius: 10px;
  color: #262a41 !important;
}


/********************** Corporate profile css *****************/

/* Card */
.corporate-card {
    padding: 10px;
    background: #fff;
    border: 1px solid #E0D5E8;
    border-radius: 20px !important;
    margin-top:20px;
}

/* Sidebar */
.side-nav {
    border: 1px solid #E0D5E8;
    padding: 10px;
    border-radius: 12px;
    background: #EFF6FB;
    height: 100vh;
}

/* Force vertical layout */
.CorporateProfileTab .rz-tabview-nav {
    flex-direction: column !important;
    border: none;
}

.side-nav ul li {
    position: relative;
    margin: 8px 0px !important;
}
.side-nav ul.rz-tabview-nav {
    border: none !important;
    background: transparent;
    padding: 0;
}

.side-nav .rz-tabview-nav li a {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    font-weight: 500;
    font-size: 14px;
    text-transform: capitalize !important;
    letter-spacing: 0.02857em !important;
    text-decoration: none;
    padding: 10px;
    border-bottom: 1px solid #E0D5E8 !important;
    color: #22394C;
    position: relative;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0px !important;
}


    /* Make sure anchor inherits selected styles */
.side-nav .rz-tabview-nav li.rz-tabview-selected a {
    color: #22394C !important;
    font-size: 14px;
    background: transparent !important;
    text-transform: capitalize !important;
    letter-spacing: 0.02857em !important;
    font-weight: 700 !important;
}

    /* Arrow indicator on selected LI */
    .side-nav li.rz-tabview-selected::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 0px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 5px solid #4B5F6F;
    }

.side-nav .rz-tabview-nav li.rz-tabview-selected a::after {
    display:none;
}

.CorporateProfileForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Title */
.PageTitle h5 {
    font-weight: bold;
}

.TitleSubtext {
    display: block;
    font-size: 14px;
    color: #6b7280;
}

/* Logo */
.logo-upload-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ProfileName {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.uploadBtnWrapper {
    display: inline-block;
}

.uploadBtn {
    display: flex !important;
    align-items: center;
    padding: 10px 18px;
    border: 2px solid #3B82F6; /* blue border */
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    color: #22394C;
    background: transparent;
    transition: all 0.2s ease;
}

    /* Hover */
    .uploadBtn:hover {
        background: #f5f9ff;
    }

/* Hide actual input */
.hiddenFileInput {
    display: none;
}
/* Labels */
.CorporateProfileForm label {
    display: block;
    font-weight: 500;
}

/* Inputs */
.rz-textbox {
    height: 45px;
    border-radius: 10px !important;
}

/* Error */
.error-text {
    color: red;
    font-size: 14px;
}

/* Button */
.FormActionBtnRow {
    margin-top: 20px;
}

.LoginBtn {
    background: #22394C;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
}


/* Accordion container */
.fintech-accordion {
    border-radius: 20px !important;
    overflow: hidden;
    border: 1px solid #E0D5E8;
    box-shadow: none !important;
}

/* Each accordion item */
.fintech-accordion-item {
    border: none;
    border-bottom: 1px solid #eef2f7;
}

/* Header styling */
.rz-accordion-header {
    font-weight: 600;
    font-size: 15px;
    padding: 0px;
    background: #fff5ea !important;
}

/* Grid layout */
.fee-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* Individual cards */
.fee-card {
    background: #f9fbfd;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 8px;
    transition: all 0.2s ease;
}

    /* Hover effect */
    .fee-card:hover {
        border-color: #d0d7e2;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

    /* Label */
    .fee-card span {
        font-size: 12px;
        color: #6b7280;
    }

    /* Value */
    .fee-card h4 {
        margin: 6px 0 0;
        font-size: 18px;
        font-weight: 400;
        color: #111827;
    }

.fintech-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #FFF5EA;
    border: 1px solid #e0d5e8;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 20px;
    font-size: 14px;
    color: #1e3a8a;
}

    .fintech-alert i {
        font-size: 18px;
        margin-top: 2px;
    }

/* Card like screenshot */
.security-card {
    padding: 24px !important;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #e0f2ff, #e6eafc);
    border: 1px solid #cce4ff;
    box-shadow: none !important;
    margin-bottom: 20px;
}

/* Title */
.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

/* Subtitle */
.card-subtext {
    font-size: 13px;
    color: #6b7280;
}
.custom-switch {
    margin-left: auto;
}

/* Switch styling */
.custom-switch .rz-switch {
    transform: scale(1.1);
}

/* Optional: blue active switch */
.rz-switch.rz-state-active .rz-switch-slider {
    background-color: #38bdf8 !important;
}


.environment-wrapper {
    width: 100%;
}

.env-card {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    padding: 24px !important;
    border-radius: 12px !important;
    border: 1px solid #cce4ff;
    box-shadow: none !important;
    margin-bottom: 20px;
}
    /* Active State (Selected) */
    .env-card.active {
        border-color: 
            
            ;
        background: linear-gradient(to right, #e0f2ff, #e6eafc);
    }

    .env-card h6 {
        margin: 5px 0px 0px 0px;
    }

/* Radio button position */
.env-radio {
    position: absolute;
    top: 12px;
    right: 12px;
}

/* Chip */
.env-chip {
    display: inline-block;
    border: 1px solid #cce4ff;
    color: #3BB5FC;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    width: fit-content;
    font-weight: 700;
}

/* Bottom warning */
.bottomNote.warningText {
    color: #d32f2f;
    font-size: 13px;
}