.tlc-container {
    max-width: 900px;
    margin: 32px auto;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}
#tlc-form, #tlc-result {
    flex: 1 1 0;
    max-width: 100%;
}
@media (max-width: 800px) {
    .tlc-container {
        flex-direction: column;
    }
    #tlc-form, #tlc-result {
        max-width: 100%;
    }
}
.tlc-input, .tlc-select {
    width: 100%;
    padding: 8px 10px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}
.tlc-button-blue {
    background-color: #1075E9;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
.tlc-button-blue:hover {
    background-color: #0b57c2;
}
#tlc-result {
    background-color: #f9faff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #dbe4f5;
}
#tlc-result h3 {
    color: #1075E9;
    margin-bottom: 1rem;
}
#tlc-breakdown {
    list-style: none;
    padding-left: 0;
    color: #555;
}
#tlc-breakdown li {
    margin-bottom: 0.5rem;
}
#tlc-breakdown hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 1rem 0;
}
#tlc-breakdown .font-bold {
    font-weight: 700;
    font-size: 1.1rem;
}
@media print {
    body * { visibility: hidden !important; }
    #tlc-result, #tlc-result * { visibility: visible !important; }
    #tlc-result { position: absolute; left: 0; top: 0; width: 100%; background: #fff; }
    #tlc-form { display: none !important; }
}


@media print {
    body * { visibility: hidden !important; }
    #tlc-result, #tlc-result * { visibility: visible !important; }
    #tlc-result {
        position: static !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
        padding: 24px 32px !important;
        border: none !important;
        background: #fff !important;
        box-shadow: none !important;
    }
    #tlc-result h3 {
        font-size: 1.6rem !important;
        margin-bottom: 1rem !important;
    }
    #tlc-breakdown li {
        font-size: 1.1rem !important;
        margin-bottom: 0.7rem !important;
        color: #000 !important;
    }
    .tlc-container {
        display: block !important;
    }
}






/* ---------- Actions (Send Email / Print) : 50/50 desktop ---------- */
.tlc-actions-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:12px;
}
.tlc-actions-row > *{
  flex:1 0 100% !important;          /* mobile: full width */
  box-sizing:border-box;
}
@media (min-width:768px){
  .tlc-actions-row > *{
    flex:1 0 calc(50% - 6px) !important;  /* desktop: 50/50 */
  }
}

/* Button look (kept generic so your existing classes/IDs stay) */
.tlc-btn{
  width:100% !important;
  display:block;
  padding:12px 14px;
  border-radius:8px;
  font-weight:600;
  font-size:1rem;
  border:1px solid #e2e8f0;
  background:#f1f5f9;
  color:#0f172a;
  cursor:pointer;
  transition:all .2s ease;
}
.tlc-btn:hover{ background:#e2e8f0; }
.tlc-btn.primary{
  background:#1075E9; color:#fff; border-color:#1075E9;
}
.tlc-btn.primary:hover{ background:#0b57c2; }



