.novuna-container{
    margin: 20px 0;
}
.novuna-calculator {
    border: 1px solid #dce1e6;
    border-radius: 10px;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #333;
    background: #fff;
}

.novuna-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.novuna-logo {
    height: 35px;
}

.novuna-finance-note {
    color: #0078c9;
    font-weight: bold;
}

.novuna-small-text {
    font-size: 0.85rem;
}

.novuna-section {
    margin-top: 20px;
}

.novuna-section label {
    /*display: block;*/
    font-weight: bold;
    margin-bottom: 5px;
}

.novuna-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

input[type=range] {
    width: 100%;
    accent-color: #0078c9;
}

.novuna-button-group button,
.novuna-term-buttons button {
    border: 1px solid #0078c9;
    background: #fff;
    color: #0078c9;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    margin: 3px;
    transition: 0.2s;
}

.novuna-button-group button.active,
.novuna-term-buttons button.active {
    background: #0078c9;
    color: #fff;
}

.novuna-review {
    background: #f5f7fa;
    border-radius: 6px;
    padding: 12px;
    font-size: 0.95rem;
}

.novuna-disclaimer {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
}


/* Finance button */
/*.novuna-btn {*/
/*    background-color: #0073e6;*/
/*    color: #fff;*/
/*    border: none;*/
/*    padding: 10px 18px;*/
/*    font-size: 16px;*/
/*    border-radius: 6px;*/
/*    cursor: pointer;*/
/*    transition: background 0.2s;*/
/*}*/
/*.novuna-btn:hover {*/
/*    background-color: #005bb5;*/
/*}*/

/* Overlay */
.novuna-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998 !important;
    display: none;
}

/* Popup Container */
.novuna-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999 !important;
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    max-width: 550px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: none;
}

/* Close Button */
.novuna-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 26px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.novuna-close:hover {
    color: #0073e6;
}

/* Smooth open animation */
.novuna-popup {
    opacity: 0;
    transform: translate(-50%, -45%);
    transition: all 0.25s ease;
}
.novuna-popup[style*="display: block"] {
    opacity: 1;
    transform: translate(-50%, -50%);
}


/* Overlay */
.novuna-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
}

/* Popup */
.novuna-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    max-width: 550px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: none;
}

/* Close Button */
.novuna-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

/* Button styles */
.novuna-btn-box {
    text-align: center;
    margin-top: 20px;
}

#open-novuna-form,
#iss-continue {
    background-color: #0073e6;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
}

#open-novuna-form:hover,
#iss-continue:hover {
    background-color: #005bb5;
}

/* Animation */
.novuna-popup {
    opacity: 0;
    transform: translate(-50%, -45%);
    transition: all 0.25s ease;
}
.novuna-popup[style*="display: block"] {
    opacity: 1;
    transform: translate(-50%, -50%);
}

#novuna-popup {
   max-width: 720px ;
   padding: 35px ;
   border-radius: 10px ;
   box-shadow: 0 12px 30px rgba(0,0,0,0.25) ;
   font-family: "Inter", Arial, sans-serif ;
 }

#novuna-popup .card {
    border: none;
    box-shadow: none;
}

#novuna-popup .btn {
    min-width: 160px;
}

#novuna-popup h2.h4 {
  font-size: 26px ;
  font-weight: 700 ;
  margin-bottom: 10px ;
  color: #1a1a1a ;
}

#novuna-popup p.mb-4 {
  font-size: 16px;
  color: #555 ;
  margin-bottom: 25px ;
}
.input-group-text{
    background: #989898;
    padding: 10px;
}

.novuna-unavailable {
  padding: 15px;
  background: #ffe8e8;
  border: 1px solid #ffbcbc;
  color: #b70000;
  border-radius: 4px;
}
#novuna-popup .form-control,
#novuna-popup select {
  height: 44px ;
  border: 1px solid #d5d9dd ;
  border-radius: 6px;
  font-size: 15px;
}
#novuna-popup .form-row {
  margin-bottom: 20px ;
}

#novuna-popup .form-group label {
  font-weight: 600;
  font-size: 14px;
}

#iss-submit.btn-primary {
  background: #0078ff;
  color: #fff ;
  border-radius: 25px ;
  font-size: 16px ;
  border: none ;
}

#iss-continue.btn-outline-secondary {
  border-radius: 25px ;
  padding: 12px 22px ;
  font-size: 16px ;
  border: 1px solid #c8c8c8 ;
}
#iss-submit {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px ;
    justify-content: center;
    gap: 4px; /* IMPORTANT: spacing for spinner */
}

#iss-submit-loader {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
}

.required:after {
    content: " *";
    color: red;
    font-weight: bold;
}

/* Align buttons left & right */
#novuna-popup .form-group.mt-4 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px;
}

/* highlight invalid inputs */
.is-invalid {
    border: 1px solid red !important;
}

/* Loader fix */
#iss-submit-loader {
    display: none;
}
#iss-submit.loading #iss-submit-loader {
    display: inline-block !important;
}
