.dashboard-roof {
    display: flex;
    flex-direction: row;
    gap: 0;
    height: 1550px;
}

#urdc-dashboard-header {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    margin-bottom: 14px;
}

#urdc-dashboard-header img {
    width: 47px;
}

#dashboard-second-layer {
    display: flex;
    flex-direction:row;
    max-width:1140px;
    gap:0;
    height:373px;
}


#dashboard-third-layer {
    display: flex;
    flex-direction:row;
    max-width:1140px;
    gap:0;
    height:518px;
}



.urdc-dashboard-heading {
    
    
}

.wallet-custom  {
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: rgb(73, 251, 212);
        cursor: pointer;
        background: #333;
        padding: 5px 50px 5px 10px;
        border-radius: 5px;
        font-family: monospace;
        font-size: 0.6555rem;
}

.wallet-custom a {
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: rgb(73, 251, 212);
    cursor: pointer;
    background: #333;
    padding: 5px 50px 5px 10px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 0.6555rem;
}
    
.sectionZ {
    margin: 0 auto;
    padding: 0;
    position: relative;
    display: grid;
}

.infoboard {
    display: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    max-width: 545px;
    /* box-sizing: border-box; */
    width: 90%;
    padding: 15px 30px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 10px #000;
    -moz-box-shadow: 0 0 10px #000;
    -o-box-shadow: 0 0 10px #000;
    -ms-box-shadow: 0 0 10px #000;
    box-shadow: 0;
    text-align: left;
    height: 90%;
    max-height: 550px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-color: #333 !important;
    overflow-y: auto;
    height: 100vh;
    color: #fff;
}

.infoboard a.close-modal {
    position: absolute;
    top: 2.5px;
    right: 2.5px;
    display: block;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
}
.modal a.close-modal {
    position: absolute;
    top: 2.5px;
    right:2.5px;
    display: block;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url('https://secure.urlennia.com/wp-content/plugins/urdc-dashboard/assets/close-button.png') !important;
}


#polygonNoticeModal {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#polygonNoticeModal.active {
  display: flex;
  opacity: 1;
}

#polygonNoticeModal p {
    line-height: 1.3rem;
    padding-top: 0;
    margin: 0;
    padding-bottom: 2px;
    font-size: 0.8rem;
}

.wallet-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.2s ease;
}
.wallet-modal.active {
  display: flex;
}
.wallet-modal-content {
  background: #1e1e1e;
  color: #fff;
  padding: 24px 30px;
  border-radius: 12px;
  text-align: center;
  width: 360px;
  max-width: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.wallet-modal-buttons {
    margin-top: 20px;
    display: grid;
    justify-content: center;
    gap: 10px;
    align-content: center;
}

.wallet-modal-buttons button {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  flex: 1;
}
#walletNoticeSwitch {
  background: #8247e5;
  color: white;
}
#walletNoticeCancel {
  background: #444;
  color: white;
}

.network-banner {
    background: transparent;
    position: fixed;
    right: 160px;
    width: 600px;
    max-width: calc(100% - 300px);
    top: 75px;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-weight: 400;
    font-size: 12px;
    z-index: 9998;
    cursor: pointer;
}

.network-banner strong {
  color: #42fbd4;
  text-decoration: underline;
}

#walletChooserModal {
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease, pointer-events 0.3s ease;
  transform: scale(1);
  filter: none;
}

#walletChooserModal.disabled {
  pointer-events: none;        /* disable interactions */
  opacity: 0.5;                /* dim */
  transform: scale(0.97);      /* slightly smaller */
  filter: blur(1px);           /* subtle blur */
}



.qr_body span {
    display: block;
    margin: 10px 0;
}
.qr_header {
    font-size: 28px;
    line-height: 28px;
    font-weight: 500;
    letter-spacing: -0.015em;
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
}

#urdc-dashboard {
    display: grid;
    width: 100%;
    top: 40px;
    color: #bbb;
    gap: 0;
    grid-template: auto / repeat(1, 2fr);
    position: absolute;
    right: 0;
    left: calc(100% - 95%);
}


#dashboardRoofContent {
  width:640px;
    
}

#dashboardRoofContent a {color:#bbb;position:absolute;}
#dashboardRoofContent a:hover {color:#F9A9FF;}

.urdc-dashboard-bookmarks {
       background:transparent;
        position: fixed;
        right:25px;
        width: 200px;
        max-width: calc(100% - 300px);
        top:70px;
}

.urdc-dashboard-section {
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 675px;
}

.sisPL {
    position: relative;
    display:inline-block;
    margin: 0;
    width:1140px;
}

img.fade-edges {
  display: block;
  height: 1550px; /* keep square if desired */
  /* Fades image edges using a circular mask */
  mask-image: radial-gradient(circle, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, black 70%, transparent 100%);
  
  /* Smooths out the fade */
  mask-mode: alpha;
  -webkit-mask-mode: alpha;

  /* Optional: smooth edges on Retina */
  image-rendering: smooth;
}
.mid-section1 {
    position: relative;
    display: block;
    margin: 100px 0;
    width: 435px;
    height: 300px;
    padding:0;
}

.mid-section2 {
    position: relative;
    display: block;
    margin:0;
    width:261px;
    height:373px;
}

.mid-section3 {
    position: relative;
    display: block;
    margin:0;
    width:443px;
    height:373px;
    
}


.th-section1 {
    position: relative;
    display: block;
    margin:0;
    width:696px;
    height:518px;
    
}

.th-section2 {
    position: relative;
    display: block;
    margin:0;
    width:443px;
    height:518px;
}




#plasmatize {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}


.dashboard-header {
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 5.6rem;
    line-height: 5.4rem;
    font-weight: 500;
    color: rgb(73, 251, 212);
    letter-spacing: -.003em;
    margin-bottom: 0px;
    display: block;
}


.wallet-header {
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 2rem;
    line-height: 2rem;
    font-weight: 500;
    color: rgb(73, 251, 212);
    letter-spacing: -.003em;
    margin-bottom: 0px;
    display: block;
}

.balance-card {
    display: block;
       font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif !important;
       font-size:15px;
       font-weight: 500;
       letter-spacing: 0;
       line-height: 1.1;
       margin-top:0;
    color:#42fbd4;
    
}

#walletDashboardSections {
    position:absolute;
    display:block;
    max-width:685px;
}

#walletDashboardSections a {
    color: #f9a9ff;
    opacity: 0.8;
}
#walletDashboardSections a:hover {color:#fff;  opacity:1.0;}

#stakingInfo, #loansInfo {
    display: block;
    margin-bottom: 20px;
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif !important;
    font-size: 0.855rem !important;
    font-weight: 500;
    letter-spacing: 0.235rem;
    color: #42fbd4 !important;
}

#buyInfo {
    display: block;
    margin-bottom:0;
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif !important;
    font-size: 0.855rem !important;
    font-weight: 500;
    letter-spacing: 0.235rem;
    color: #42fbd4 !important;
}

.dashInfo {
    display: block;
    margin-bottom: 20px;
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif !important;
    font-size: 0.855rem !important;
    font-weight: 500;
    letter-spacing: 0.235rem;
    color: #bbb !important;
}


.dashboard-subheadline {
    font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #f9A9FF;
    letter-spacing: .007em;
    line-height: 2.04286;
}




#urdc-dashboard h2 {
    display: block;
    margin-bottom: 0;
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif !important;
    font-size: 1.3rem !important;
    line-height: 1.5rem !important;
    font-weight: 500;
    letter-spacing: 0.135rem;
    color: #fff !important;
    margin-bottom: 10px;
}


#urdc-dashboard h3 {
    display: block;
    margin-bottom: 0;
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif!important;
    font-size: 2.1rem !important;
    font-weight: 500;
    letter-spacing: 0.235rem;
    color: #fff !important;
}

#urdc-dashboard h4 {
    display: block;
    margin-bottom: 0;
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif!important;
    font-size: 2.1rem !important;
    font-weight: 500;
    letter-spacing: 0.235rem;
    color: #fff !important;
}


#urdc-dashboard h5 {
    display: block;
    margin-bottom: 0;
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 17px !important;
    line-height: 1.2rem !important;
    font-weight: 400;
    letter-spacing: .007rem;
    color: #bbb !important;
    margin-bottom: 10px;
    clear: both;
    display: flex;
    align-items: baseline;
    max-width: 350px;
}

#urdc-dashboard h6 {
    display: block;
    margin-bottom: 0;
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif !important;
    font-size: 0.955rem !important;
    font-weight: 500;
    letter-spacing: 0.235rem;
    color: #bbb !important;
}


#urdc-dashboard h7 {
    display: block;
    margin-bottom: 0;
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif !important;
    font-size: 2.1rem !important;
    font-weight: 500;
    letter-spacing: 0.235rem;
    color: #42fbd4 !important;
}

#urdc-dashboard h8 {
    display: block;
    margin-bottom:10px;
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 500;
    letter-spacing: 0.235rem;
    color: #fff !important;
}


#urdc-dashboard h9 {
    display: block;
    margin-bottom: 0;
    font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 21px;
    line-height: 1.381002381;
    font-weight: 600;
    letter-spacing: .011em;
    color: #7d7d7d;
    margin-bottom: 10px;
    clear: both;
    display: flex;
    align-items: baseline;
    max-width: 450px;
}

.urdc-connect, #switchToPolygon  {
        font-size: 15px;
        line-height: 1.42859;
        font-weight: 400;
        letter-spacing: 0.1em;
        font-family: 'SF Pro Display', "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
        background: #49fbd4;
        color: #333;
        text-align: center;
        padding: 15px;
        border-radius: 980px;
        margin-right: 17px;
    margin-bottom:10px
    }

.urdc-connect:hover, .switch-connect:hover, #switchToPolygon:hover {background:#333;color:#42fbd4}


.switch-connect {
    font-size: 15px;
    line-height: 1.42859;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-family: 'SF Pro Display', "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
    background: #f9A9FF;
    color: #333;
    text-align: center;
    padding: 15px;
    border-radius: 980px;
    margin-right: 17px;
    margin-bottom: 10px;
}

.urdc-disconnect {
        font-size: 15px;
        line-height: 1.42859;
        font-weight: 400;
        letter-spacing: 0.1em;
        font-family: 'SF Pro Display', "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
        background: #333;
        color: #42fbd4;
        text-align: center;
        padding: 15px;
        border-radius: 980px;
        margin-right: 17px;
        margin-bottom:10px
    }

.urdc-disconnect:hover {color:#fff;background:#000}


#stakeAmount, #borrowAmount, #repayAmount, #repayAmount, #withdrawCollateralAmount, #urdcReceive, #urdcAmount, #addCollateralAmount{
    border-radius: 32px;
        border: 1px solid rgba(171, 181, 197, .30196078431372547);
        padding: 9.5px 0 9.5px 18px;
        color: #fff;
        margin-right: 5px;
}

#btcAmount, #wbtcUsd, #urdcReceive {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    border: 0;
    background: transparent;
}

#stakeBtn, #borrowBtn, #repayBtn{
    font-size: 15px;
        line-height: 1.42859;
        font-weight: 400;
        letter-spacing:0.1em;
        font-family: 'SF Pro Display', "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    background:#49fbd4;
    color: #333;
    text-align: center;
    padding:15px;
    border-radius:980px;
    margin-right:17px;
}

#buyURDCBtn  {
    font-size: 15px;
        line-height: 1.42859;
        font-weight: 400;
        letter-spacing:0.1em;
        font-family: 'SF Pro Display', "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    background:#49fbd4;
    color: #333;
    text-align:center;
    padding:15px;
    border-radius:980px;
    margin-right:17px;
    width:125px;
}

#openInvoiceBtn {
    font-size: 15px;
    line-height: 1.42859;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-family: 'SF Pro Display', "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    background: #333;
    color: #49fbd4;
    text-align: center;
    padding: 15px;
    border-radius: 980px;
    margin-right: 17px;
    width: 125px;
}

#unstakeBtn, #stakeMaxBtn, #claimRewardsBtn,#borrowMaxBtn, #repayMaxBtn, #withdrawMaxBtn, #withdrawCollateralBtn, #addCollateralMaxBtn, #addCollateralBtn, #openInvoiceBtn, #cancelPolygonSwitch {
    font-size: 15px;
    line-height: 1.42859;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-family: 'SF Pro Display', "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
    background: transparent;
    color: #42fbd4;
    text-align: center;
    padding: 15px;
    border-style: solid;
    border-width: 1px;
    border-radius: 980px;
    border-color: #42fbd4;
    margin-right: 17px;
    margin-top: 14px;
}

#unstakeBtn:hover, #stakeMaxBtn:hover, #claimRewardsBtn:hover, #repayBtn:hover, #borrowMaxBtn:hover, #repayMaxBtn:hover, #withdrawMaxBtn:hover, #withdrawCollateralBtn:hover, #addCollateralMaxBtn:hover, #addCollateralBtn:hover, #openInvoiceBtn:hover, #cancelPolygonSwitch:hover {
    background:#42fbd4;
    color:#333;
}

#stakeBtn:hover, #borrowBtn:hover, #repayBtn:hover, #buyURDCBtn:hover  {
    background: #333;
        color: #42fbd4;
}

.buy-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width:400px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    align-content: flex-start;
}

.buy-card input {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.loaner {
  display: flex;
  flex-direction: column; /* stack vertically */
  width: 100%;
  gap: 16px; /* space between cards */
}

.loan-card {
    display: flex
;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    align-content: flex-start;
}

.loan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.loan-card input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.loan-card input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.loan-card button {
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #4a90e2, #357abd);
  color: white;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.loan-card button:hover {
  background: linear-gradient(135deg, #5aa0f0, #468ad2);
  transform: translateY(-1px);
}


/* === Dashboard Dynamic Updates & Notifications === */
#dashboardNotifications {
    display: flex;
    flex-direction: column;
    font-size:1rem;
}

#dashboardNotifications div {
    transition: opacity 0.5s, max-height 0.5s;
    opacity: 1;
    
}

.dashboard-notification.success {
    background-color:transparent;
    color: #42fbd4;
}

.dashboard-notification.error {
    background-color:transparent;
    color: #f9f343;
}

.dashboard-notification.info {
    background-color:transparent;
    color: #bbb;
}

/* Highlight balance cards when updated */
.balance-card.updated {
    animation: flashUpdate 1s ease-in-out;
}

@keyframes flashUpdate {
    0%   { background-color: #ffff99; }
    50%  { background-color: #f0f0f0; }
    100% { background-color: #f0f0f0; }
}

/* Collapsible sections smooth transition */
.collapsible-content {
    transition: max-height 0.35s ease, padding 0.35s ease;
}


.details{
  width:21px;
  margin-right:7px;
}

canvas {
    image-rendering: pixelated;
  }


/* Loan Details Section */
.loan-details {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    margin-left: auto;
    margin-right: auto;
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
    transition: opacity 0.3s ease;
   }

#viewLoanDetailsBtn, #viewWalletDetailsBtn{
    color: rgb(73, 251, 212);
        cursor: pointer;
        background: #333;
        padding: 5px 50px 5px 10px;
        border-radius: 5px;
        font-family: monospace;
        font-size: 0.6555rem;
}

#viewLoanDetailsBtn button:hover {color:#fff;}



.loan-details-header {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    color: #00ffc8;
}

.loan-details-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.loan-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    padding: 8px 12px;
    background-color: #262626;
    border-radius: 8px;
}

.total-repay {
    font-weight: 600;
    color: #42fbd4;
}

.loan-details-close {
    margin-top: 15px;
    align-self: center;
    padding: 8px 16px;
    border: none;
    background-color: #1d1d1f;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.loan-details-close:hover {
    background-color: #000;
}

.Caption {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #42fbd4;
    font-size: 15px;
}

.Caption img {
        border: none;
        border-radius: 0;
        box-shadow: none;
        height: auto;
        max-width: 94px;
        width: 100%;
    }
    

.dash_CtaButton {
    padding-left: 16px;
    padding-right: 16px;
    background-color:#42fbd4;
    white-space: nowrap;
    transition-property: background-color, opacity;
    display: inline-block;
}

.CtaButton {
    padding-left: 16px;
    padding-right: 16px;
    background-color: #42fbd4;
    white-space: nowrap;
    transition-property: background-color, opacity;
    display: inline-block;
    padding: 8px 12px 8px;
    border-radius: 16.5px;
    font-family: 'SF Pro Display', "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    color: #000;
    transition: 150ms
     cubic-bezier(0.215, 0.61, 0.355, 1);
    outline: none;
}

.wallet-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  display: none; justify-content: center; align-items: center;
  background: rgba(0,0,0,0.7); z-index: 9999;
}
.wallet-modal-content {
  background: #111; color: #fff; border-radius: 16px;
  padding: 24px; text-align: center; max-width: 320px; width: 90%;
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
  transform: scale(0.9); opacity: 0; transition: all 0.25s ease;
}
.wallet-modal.active .wallet-modal-content {
  transform: scale(1); opacity: 1;
}
.wallet-options { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.wallet-option {
    background: #fff;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #15151c;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}
.wallet-option:hover { background: #333; }
.wallet-option img { width: 24px; height: 24px; }
.wallet-close {
  margin-top: 16px; background: none; border: none; color: #aaa; cursor: pointer;
}

#addressWallet{
    display: flex;
    width: 100%;
    flex-direction:row;
    position: relative;
    gap:7px;
    align-content:center;
}

#addressWallet button {background:#1f1f1c;
}

#walletAddress{
    display:flex;
    width:42%;
    overflow: clip;
    position: relative;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dashboard-notification .progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}

.dashboard-notification .progress-bar {
    width: 0%;
    height: 100%;
    background: #3498db;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.classified {
    font-size: 0.655rem;
    color: #fff;
    letter-spacing: 0.13rem;
    display: block;
}

.bold {
    font-weight: 600;
    letter-spacing: 0.13rem;
}

.port {
font-size: 1.2rem;
letter-spacing: 0.13rem;
}

/* Responsive for Mobile */
@media (max-width: 600px) {
    .loan-details {
        padding: 15px;
        max-width: 95%;
    }

    .loan-detail-row {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .loan-details-header {
        font-size: 1.1rem;
    }

    .loan-details-close {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

/* Adjust spacing for small screens */
@media (max-width: 480px) {
    .balance-card {
        font-size: 0.9rem;
        padding:5px 0;
    }
    .urdc-dashboard-section input[type="number"] {
        width: 100%;
        max-width: 100px;
    }
    .urdc-dashboard-section button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    
    #addressWallet {
        max-width: 200px;
    }
    .mid-section2, .mid-section3, #dashboardCustomerContent, .th-section1, .th-section2 {display:none !important;}
    
    .sectionZ {
        margin: 0 25px !important;
        padding: 0;
        position: relative;
        display: grid;
        max-width: 350px !important;
}
    
#urdc-dashboard {
        position: relative;
        display:grid;
        width:100%;
        max-width:350px !important;
        margin:100px auto;
        color:#bbb;
    }
    
    .dashboard-header {
            font-family: 'SF Pro Display', SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
            font-size: 3.1rem !important;
            line-height: 3.1rem !important;
        }
    
    .dashboard-roof {
        display: flex;
        margin-top: 40px;
        flex-direction:column-reverse !important;
        max-width: 350px !important;
        gap: 20px;
    }

    .dashboard-subheadline {
            font-size:21px !important;
        }
    
    #urdc-dashboard h9 {
            max-width: 300px !important;
            font-size: 18px;
            line-height: 1.35;
        }
    
    #urdc-dashboard h2 {
        font-size: 1.3rem !important;
        line-height: 1.5rem !important;
        margin-bottom: 20px !important;
    }
    
 #urdc-dashboard h5 {
   font-size: 0.9555rem !important;
        line-height: 1.2em !important;
 
    }
    
    .details{
      width:17px !important;
      margin-right:7px;
    }
    
    .urdc-dashboard-bookmarks {
        background: transparent;
        position: fixed;
        right: 0 !important;
        width: 100% !important;
        max-width: 300px !important;
        top: 70px;
        left:40px !important;
    }
    
    #walletDashboardSections {
            position: relative !important;
            display: block;
            max-width: 300px !important;
            left: -40px !important;
            top: 0 !important;
            margin: 0 !important;
        }
    
    #stakeBtn, #unstakeBtn, #claimRewardsBtn, #borrowBtn, #repayBtn {
        font-size: 12px !important;
        line-height: 0.2859 !important;
        width: 150px !important;
    }
    #urdc-dashboard h3 {
        font-size: 1.4rem !important;
    }
    
    .urdc-dashboard-section button {
        width: auto !important;
    }
    
    .loan-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sisPL {margin:0 !important;}
    
    #plasmatize {max-width:300px;}
    
    .mid-section1 {
        margin: 75px 0 !important;
        width: 300px !important;
        height: 300px;
        padding: 0 !important;
    }
    
    #dashboardRoofContent {
      width:300px !important;
        
    }
    
    #dashboardNotifications {
        min-height:10px !important;
    }
    
    .buy-card {
        gap:20px !important;
        max-width: 350px;
    }
    
    #btcAmount, #wbtcUsd, #urdcReceive {
    font-size: 1.2rem !important;

    }
    
    #urdc-dashboard-header img {
        width: 37px !important;
    }
    
    #urdc-dashboard-header {
        flex-direction: row !important;
        gap: 7px !important;
    }
    
    #dashboardRoofContent {
        max-width: 350px !important;
        width: 350px !important;
    }
    
    .dashboard-roof {
        height: auto !important;
        margin-bottom:0px;
    }
    
    
}

