body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
    color:  black !important;
}
.container1 {
    max-width: 1200px;
    margin: 50 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: scroll;
    /* -webkit-overflow-scrolling: touch; */
    margin-bottom: 20px;
}
h1 {
    text-align: center;
    color: #333;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center !important;
}
th {
    background-color: #2c3e50;
    color: #fff;
    
}
td {
    background-color: transparent;
}

@media (max-width: 600px){
    td input {
        width: 50px;
    }
}



.action-btn {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}
.action-btn:hover {
    background-color: #175927;
}
.total-row {
    background-color: #2c3e50;
    color: #fff;
}

.total-row td{
    color: #ffffff;
    background-color: #2c3e50;
    text-align: left !important;
}
.install-btn {
    display: block;
    width: 200px;
    margin: 20px auto;
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
}
.install-btn:hover {
    background-color: #175927;
    color: white;
}
@media (max-width: 768px) {
    th, td {
        font-size: 12px;
        padding: 5px;
    }
    .action-btn, .install-btn {
        padding: 5px 10px;
    }
}


/* dropdown css */

.dropdown {
    position: relative;
    display: inline-block;
  }

  .dropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0px 10px;
    border-radius: 50%;
    font-size: 23px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #0000009e;
}

  .dropbtn:hover {
    transform: scale(1.2);
    color: #000000d7;

  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
  }

  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }

  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }

  .dropdown-content {
    display: none;
  }
  .dropdown-content.show {
    display: block;
  }
  

.dropdown-form{
    display: flex;
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
  }

.solarpanel-brand{
    display: flex;
    padding: 20px;
}
.solarpanel-brand  p{
    font-size: 20px;
    color: #000 !important;
}

.invertor-brand{
    display: flex;
    padding: 20px;
}

.invertor-brand p{
    font-size: 20px;
    color: #000 !important;

}

.packages-section{
    display: flex;
    padding-top: 20px;
    justify-content: center;

}

.packages-section p{
    font-size: 20px;
    color: #000 !important;

}

.packages-sub-section{
    display: flex;
    justify-content: center;
}

.packages-sub-section h6{
    margin-right: 2rem;
}




  .packages-sub-section {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .package-card {
    position: relative;
    border: 2px solid #ccc;
    border-radius: 12px;
    padding: 20px;
    width: 45%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .package-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .package-card.selected {
    border-color: #007bff;
    background-color: #eaf4ff;
  }

  .package-card .checkmark {
    display: none;
    color: green;
    font-weight: bold;
  }
  
  .package-card.active .checkmark {
    display: inline;
  }
  

  button[type="submit"] {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  button[type="submit"]:hover {
    background-color: #0056b3;
  }

  p i {
    vertical-align: middle;
  }



 
/* Modal Overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  /* Modal Content Box */
  .modal-content {
    background: linear-gradient(to bottom, #ffffff, #f1f1f1);
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 90%;
    max-width: 400px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: slideUp 0.3s ease-out;
    position: relative;
  }
  
  /* Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
  }
  
  .close:hover {
    color: #333;
  }
  
  /* Confirm Texts */
  .modal-content h2 {
    margin-bottom: 20px;
    color: #333;
  }
  
  .modal-content p {
    margin: 10px 0;
    color: #555;
  }
  
  /* Confirm Button */
  .modal-content button {
    margin-top: 20px;
    background: #007bff;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s ease;
  }
  
  .modal-content button:hover {
    background: #0056b3;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  




  .dropdown {
    position: relative;
    display: inline-block;
  }


    /* Overlay background */
    
    @media (max-width: 570px) {
      .dropdown-form{
        display: block;
      }
      .packages-sub-section{
        display: block;
        margin-top:0px;
      }

      .dropdown-form{
        display: block;
      }
      .package-card{
        padding: 10px;
        width: 100%;
        margin-bottom: 35px;
      }

      .dropdown-content {
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
      }
    
    }