@import url(https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);

:root{
    --yellow:#ffcf01;
    --yellow-dark:#f2c000;
    --border:#e8e8e8;
    --text:#222;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body,
.card,
.form-group:focus-within {
    background: transparent !important;
    box-shadow: none !important;
}

body{
    font-family: 'Poppins', 'Segoe UI', 'Mulish', 'Lato', sans-serif;
    color:var(--text);
   background: none;
    line-height:1.5;
	
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;


}

ul, ol {
	margin: 0 0 0px 35px;
}

li {
	padding-bottom: 10px;
}

	
.disabled-field {
    background-color: #e5e5e5 !important;
    cursor: not-allowed;
    opacity: 0.7;
}
	
.field-error{
    color: red;
    font-size:12px;
    margin-top:2px;
}

.disabled-field{
    background:#e5e5e5 !important;
    cursor:not-allowed;
    opacity:.7;
}

.results-disabled{
    opacity:.45;
    pointer-events:none;
}

.joint-checkbox{
    display:flex;
    align-items:left;
    gap:10px;
}

.joint-applicant-header {
    display: flex;
    align-items: center;
    gap: 10px;
        margin-bottom:15px;
	   font-size: 18px;
    font-weight: 600;
}

.joint-applicant-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.joint-applicant-header label {
    margin: 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
}

.summary-table-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.summary-table-disabled .value {
    color: #999;
}

.topspace{
    padding-top:120px;
}

.hero{
    background:var(--yellow);
    padding:50px 20px;
}

.hero h1{
    font-size: 38px;
    margin-bottom:10px;
}

.container{

    width: 100%;
    margin: 0 auto;
    padding: 0;

}

.main-grid{
    display:grid;
    grid-template-columns: 1.1fr .9fr;
    gap:10px;
    margin-top:10px;
}

/*
.card{
    background:#fff;
    border-radius:20px;
    padding:25px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}*/

.calrow{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}


h1{
   
	   font-size: 26px;
	
}

h2{
   
	   font-size: 24px;
	margin-bottom:15px;
}


h3{
    margin-bottom:15px;
	   font-size: 18px;
}

h4{

	   font-size: 22px;
}

.form-group{
    margin-bottom:30px;
    padding:5px;
    border-radius:10px;
}

.form-group:focus-within{
    background:#fffdf2;
}

label{
    display:block;
    margin-bottom:8px;
    font-size:16px;
}

.summary-label{
    display:block;
    margin-bottom:8px;
    font-size:18px;
}

.note{
    font-size:15px;
	line-height:17px;
}

label .note{
    font-size:13px;
}

input{
    width:100%;
    border:1px solid #ddd;
    border-radius:12px;
    padding:14px;
    font-size:18px;
}

input:focus{
    outline:none;
    border-color:var(--yellow);
    box-shadow:0 0 0 4px rgba(255,207,1,.25);
}

.currency-wrapper{
    position:relative;
}

.currency-wrapper span{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    color:#666;
}

.currency-wrapper input{
    padding-left:35px;
}

.button-group{
    display:flex;
    gap:20px;
    margin-top:20px;
}

.btn{
	font-family: 'Poppins', 'Segoe UI', 'Mulish', 'Lato', sans-serif;
    flex:1;
    border:none;
   /* padding:15px !important;*/ 
    border-radius:12px;
    cursor:pointer;
    font-weight: bold;
  padding: 0 1.5em;
  font-size: 14px;
  line-height: 3.65rem;
	text-transform: uppercase;
}

	.btn-default {
		font-family: 'Poppins', 'Segoe UI', 'Mulish', 'Lato', sans-serif;
  color: #373737;
  border: 1px solid #373737;
  background: none;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  /*.touch & {
    &:active, &:focus {
      background: @light-yellow-color;
      border-color: @light-yellow-color;
    }
  }*/
}
.no-touch .btn-default:hover {
  background: #ffc83d;
  border-color: #ffc83d;
}
.btn-default.disabled {
  color: #d7d7d7;
  border-color: #d7d7d7;
}
.btn-default.has-icon * {
  vertical-align: middle;
}
.btn-default.has-icon span:first-child {
  margin-right: 1.5rem;
}
.btn-default.comparing {
  background: #ffc83d;
  border-color: #ffc83d;
}
[class*='btn-compare'] {
  color: white;
  border: 1px solid #696969;
  background: #494949;
  text-transform: none;
  font-weight: normal;
  line-height: 3.4em;
}
.btn-primary {
background: #ffbc00;
    color: #000;
  
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  padding: 0 2rem;
}
.btn-primary:hover {
  background: #000;
  color: white;

}
.btn-primary:active,
.btn-primary:focus {
  background: #ffbc00;
}
.btn-primary.disabled {
  background: #d7d7d7;
}


.error-box{
    display:none;
    background:#fff3f3;
    border:1px solid #ffb5b5;
    color:#d50000;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}

.input-error{
    border-color:#d50000 !important;
}

.result-panel{
    position:sticky;
    top:20px;
    height:fit-content;
}

.results-header{
    background:#4f4f4f;
    color:#fff;
    padding:10px 18px;
    border-radius:10px;
    margin-bottom:20px;
}

.summary-table{
    border:1px solid var(--border);
    border-radius:12px;
    overflow:hidden;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:18px;
    border-bottom:1px solid var(--border);
}

.summary-row:last-child{
    border-bottom:none;
}

.summary-row.highlight{
    font-weight:bold;
}

.budget-title{
    background:#fafafa;
}

.label{
    flex:1;
}

.value{
    white-space:nowrap;
    font-size:24px;
    font-weight:700;
	text-align: right;
}

.per-month {
    font-size: 16px;
}

.calculator-note{
    margin-top:20px;
    padding:15px;
    border-left:4px solid var(--yellow);
    background:#fffdf2;
    border-radius:8px;
    font-size:14px;
	line-height:16px;
}

@media(max-width:768px){

    .main-grid{
        grid-template-columns:1fr;
    }

    .calrow{
        grid-template-columns:1fr;
    }

    .button-group{
        flex-direction:column;
    }

    .result-panel{
        position:static;
    }

    .summary-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .value{
        font-size:20px;
    }

    .hero h1{
        font-size:30px;
    }
	


	

}
