body {
    background: linear-gradient(135deg, #d8e9ff 60%, #b2d4ff 100%);
}

/* Navbar */
.tpddl-calculator .navbar {
    background-color: white;
    min-height: 80px;
    padding: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.tpddl-calculator .navbar-brand {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}
.tpddl-calculator .navbar-brand img {
    height: 60px;
}

/* Cards */
.tpddl-calculator .card {
    position: relative;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,66,153,0.1);
    background: #fff;
    border: 1px solid #e0efff;
    overflow: visible !important;
    z-index: 1;
    transition: transform .3s ease, box-shadow .3s ease;
}
.tpddl-calculator .summary-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(25,104,179,0.08);
    border: 1px solid #dceeff;
    transition: transform .3s ease, box-shadow .3s ease;
}
.tpddl-calculator .card:hover,
.tpddl-calculator .summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(25,104,179,0.15);
}

/* Total box */
.tpddl-calculator .total-card {
    border-radius: 14px;
    background: linear-gradient(90deg, #e6f1ff 80%, #d2e7ff 100%);
    box-shadow: 0 8px 32px rgba(0,66,153,0.07);
    padding: 22px;
    text-align: center;
}

/* Table */
.tpddl-calculator .table thead th {
    background: #e2f0ff;
    color: #1968b3;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 10px;
    text-align: center;
    white-space: nowrap;
}
.tpddl-calculator .table tbody td {
    font-size: 14px;
    padding: 12px 10px;
    text-align: center;
    white-space: nowrap;
}
.tpddl-calculator .table tbody tr td:last-child {
    text-align: center;
}
.tpddl-calculator .btn-danger {
    font-size: 14px;
}

/* Dashboard summary */
.tpddl-calculator .summary-dashboard {
    margin-top: 0.5px;
}
.tpddl-calculator .summary-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1968b3;
}
.tpddl-calculator .unit-label {
    font-weight: 600;
    font-size: 14px;
    color: #6c757d;
    margin-top: 2px;
}

/* Seasonal backgrounds */
.tpddl-calculator .summary-card.summer {
    background-image: url('../icons/869869.png');
}
.tpddl-calculator .summary-card.monsoon {
    background-image: url('../icons/8871218.png');
}
.tpddl-calculator .summary-card.winter {
    background-image: url('../icons/642000.png');
}
.tpddl-calculator .summary-card.summer,
.tpddl-calculator .summary-card.monsoon,
.tpddl-calculator .summary-card.winter {
    background-repeat: no-repeat;
    background-position: right 12px top 12px;
    background-size: 50px;
}

/* Suggestion dropdown */
.tpddl-calculator .suggestion-box {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute !important;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999 !important;
    width: 100%;
    box-sizing: border-box;
}
.tpddl-calculator .suggestion-box li {
    padding: 8px 12px;
    cursor: pointer;
}
.tpddl-calculator .suggestion-box li:hover,
.tpddl-calculator .suggestion-box li.active {
    background-color: #e0f0ff;
}

/* Mobile tweaks */
@media (max-width: 700px) {
  .tpddl-calculator .card {
    margin: 8px 0;
  }
  .tpddl-calculator .navbar-brand {
    font-size: 18px;
  }
  .tpddl-calculator .fs-2 {
    font-size: 1.5rem !important;
  }
}

/* Star rating */
#star-rating {
    margin-left: 0px;
    display: inline-block;
    vertical-align: middle;
}
#star-rating-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
#star-rating span {
    color: #1968b3;
    padding: 2px;
    font-size: 20px;
    transition: transform 0.1s;
}
#star-rating span:hover {
    transform: scale(1.2);
}
/* Footer */
.tpddl-calculator .disclaimer-footer {
    width: 100%;
    background-color: #1968b3;
    font-size: 17px;
    margin-top: 20px;
}

/* Seasonal card adjustments for mid screens */
@media (min-width: 768px) and (max-width: 1200px) {
  .tpddl-calculator .summary-card.summer,
  .tpddl-calculator .summary-card.monsoon,
  .tpddl-calculator .summary-card.winter {
    background-size: 30px;
    background-position: right 4px top 10px;
    padding-right: 50px;
  }
  .tpddl-calculator .summary-card h6 {
    font-size: 13px;
    line-height: 1.2;
  }
  .tpddl-calculator .summary-value {
    font-size: 1.6rem;
  }
}

/*  watt input & stars on mid screens */
@media (min-width: 768px) and (max-width: 1200px) {
  #watt-container {
    flex: 1 1 auto;
  }
  #star-rating {
    flex-shrink: 0;
  }
}

/* Charts */
canvas {
  max-height: 300px;
}
#summerChart, #monsoonChart, #winterChart {
  width: 100% !important;
  height: 250px !important;
}
@media (max-width: 768px) {
  #summerChart, #monsoonChart, #winterChart {
    height: 200px !important;
  }
}

.tpddl-calculator .form-control {
    border-color: #000000;
}

.tpddl-calculator .form-control:focus {
    border-color: #000000;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
}
.download-pdf-btn, .toggle-graph{
  border-radius: 10px;
}