* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
  }
  
  body {
    background-color: #e6f4fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
  }
  
  .calculate-container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e6e6e6;
  }
  
  .header-container h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
  }
  
  #clear-all {
    background: none;
    border: none;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
  }
  
  #clear-all:hover {
    color: #1e293b;
    text-decoration: underline;
  }
  
  .form-results-container {
    display: flex;
    flex-direction: row;
  }
  
  form {
    padding: 30px;
    width: 50%;
  }
  
  label {
    display: block;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 16px;
  }
  
  .input-container {
    position: relative;
    margin-bottom: 25px;
  }
  
  input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    font-size: 16px;
  }
  
  /* Currency symbol */
  .currency-symbol {
    position: absolute;
    left: 15px;
    top: 12px;
    color: #64748b;
  }
  
  #mortgage-amount {
    padding-left: 25px;
  }
  
  /* Append elements */
  .years-append,
  .percent-append {
    position: absolute;
    right: 0;
    top: 0;
    padding: 12px 15px;
    background-color: #f1f5f9;
    color: #64748b;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    height: 100%;
    display: flex;
    align-items: center;
  }
  
  /* Radio button styling */
  .mortgage-type-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
  }
  
  .radio-option {
    position: relative;
  }
  
  .mortgage-type-options input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .mortgage-type-options label {
    border: 1px solid #e6e6e6;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    padding-left: 45px;
    margin-bottom: 0;
    display: block;
  }
  
  .mortgage-type-options label::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #e6e6e6;
    border-radius: 50%;
  }
  
  .mortgage-type-options input[type="radio"]:checked + label {
    background-color: #fdfde7;
    border-color: #e3e025;
  }
  
  .mortgage-type-options input[type="radio"]:checked + label::before {
    background-color: #e3e025;
    border-color: #e3e025;
    box-shadow: inset 0 0 0 4px #fdfde7;
  }
  
  #calculate {
    width: 100%;
    padding: 15px;
    background-color: #e3e025;
    color: #1e293b;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
  }
  
  #calculate:hover {
    background-color: #d4d119;
  }
  
  /* Results container styling */
  #results-container {
    background-color: #1e293b;
    color: white;
    padding: 30px;
    width: 50%;
    display: flex;
    flex-direction: column;
  }
  
  #results-container h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
  }
  
  #results-container p {
    color: #a1a1aa;
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
  }
  
  #results-container p:nth-of-type(2),
  #results-container p:nth-of-type(3) {
    margin-top: 30px;
    color: white;
    font-weight: 500;
  }
  
  #monthly-repayment {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #e3e025;
    margin: 10px 0 40px;
  }
  
  #total-repayment {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-top: 10px;
  }
  
  @media (max-width: 768px) {
    .form-results-container {
      flex-direction: column;
    }
    
    form, #results-container {
      width: 100%;
    }
  }