/* Widget card */
.dw-card {
    max-width: 540px;
    margin: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 25px 0 25px 0;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    font-family: "Poppins-custom",sans-serif;
}

.dw-title {
    font-weight: 800;
    text-align: center;
    font-size: 22px;
    margin: 6px 0 14px;
}

.dw-toggle {
    display: flex;
    overflow: hidden;
    gap: 10px;
}

.dw-toggle button {
    flex: 1;
    padding: 10px 20px 10px 20px;
    border: 1px solid #9C3983 !important;
    background: white !important; 
    font-weight: 700;

    cursor: pointer;
    color: #000 !important;
}

.dw-toggle button.active {
    background: #9C3983 !important;
    color: #fff !important;
}

.dw-chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 12px 0;
}

.dw-chip {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 0;
    text-align: center;
    cursor: pointer;
    background: #fff;
}

.dw-chip.active {
    border-color: #9C3983;
    box-shadow: inset 0 0 0 2px #9C3983;
}

.dw-other {
    margin-top: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.dw-other .hdr {
    background: #f5f5f5;
    color: #111;
    font-weight: 700;
    padding: 10px 12px;
}

.dw-other .inp {
    padding: 10px 12px;
    background: #fafafa;
}

.dw-other input {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 16px;
}

.dw-submit {
    margin-top: 14px;
}

.dw-submit button {
    width: 100%;
    padding: 15px 20px 15px 20px;
    border-radius: 10px;
    border: 0;
    background: #0000FF;
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;

}

#dw-open {
  display: inline-flex;           
  align-items: center;            
  justify-content: center;        
  gap: 8px;                      
}
#dw-open svg {
  width: 20px;                   
  height: 20px;
  flex-shrink: 0;                
}




/* Modal */
.dw-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.dw-modal .box {
    width: min(520px, 90vw);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    padding: 10px;
}

.dw-modal .hd {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 800;
}

.dw-modal .bd {
    padding: 16px;
}

.dw-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.dw-row input {
    flex: 1;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.dw-actions {
    display: flex;
    gap: 10px;
    justify-content:center ;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
}

.dw-btn {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: transparent !important;
    cursor: pointer;
    color: #000 !important;
}

.dw-btn.primary {
    background: #0000FF;
    border-color: #0000FF;
    color: #fff;
    font-weight: 700;
}

.dw-paymarks{
    display:flex;
    gap:14px;
    opacity:.7;
    justify-content:center;
    font-size:13px;
    margin-top:10px;
    padding: 10px;
}

/* Receipt on thanks page */
.payu-receipt {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    max-width: 520px;
    margin: 12px auto;
    background: #fff;
}

.payu-receipt h3 {
    margin: 0 0 8px;
}


.dw-checkbox {
    display: inline;
    align-items: center;
    padding: auto;

}

.dw-summary{
    font-family: "Poppins-custom",sans-serif;
    font-weight: 600;
    text-align: center;
    font-size: 1.5rem;
    

}

.box{
    display: block;
    padding: 20px;
    
}



/* Highlight just the amount */
.dw-summary .dw-amount {
  color: #9C3983;   /* or your brand color */
  font-weight: 700;
  margin-left: 4px;
}

.dw-paymarks-title h6 {
    padding: 14px 16px;
    color: #000 !important;
    font-size: medium;

}
