body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}
.container form {
    padding: 10px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}
* {
    box-sizing: border-box;
}
header {
    background: #0c6cbc;
    color: white;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 20px; /* adjust as needed */
  }
  
  /* The left and right containers get equal space */
  .header-left,
  .header-right {
    flex: 1;
  }
  
  /* Center container takes the remaining space and centers text */
  .header-center {
    flex: 2;
    text-align: center;
  }
  
  /* Adjust the logo size as necessary */
  .logo {
    height: 80px; 
    width: auto;
    margin-left: -100px;
  }  

.form-field, .form-field select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-family: Arial, sans-serif;
}
.form-field::placeholder {
    color: #000;
    opacity: 1;
}
label {
    display: block;
    margin: 10px 0 5px 0;
    color: #034184;
    font-size: 14px;
}
.error {
    color: red;
    text-align: center;
    margin: 10px 0;
}
.container form input[type="submit"] {
    background: #0c6cbc;
    color: white;
    border: 0;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    width: 50%;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
    grid-column: 1 / -1;
}
.container form input[type="submit"]:hover {
    background: #0256a3;
}
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}
.input-group {
    display: flex;
    flex-direction: column;
}
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.last-row {
    grid-column: 1 / span 3;
    display: flex;
    justify-content: space-between;
}
.last-row .input-group {
    flex: 1;
}
.benefit {
    flex: 1; 
    display: flex;
    flex-direction: row;
}
.small-input {
    height: 30px;
    vertical-align: middle;
    margin-top: 8px; 
}

.btn {
    background: #0c6cbc;
    color: white;
    border: 0;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    margin: 10px auto;
    grid-column: 1 / -1;
    text-decoration: none;
}
.btn:hover {
    background: #0256a3;
}
.disclaimer {
    width: 100%;
    grid-column: 1 / span 3;
    font-style: italic;
    color: #666;
    margin-top: 10px;
    padding: 10px;
    border-top: 1px solid #dee2e6;
    font-size: 12px;
    justify-content: space-between;
    align-items: center;
}
.summary-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    flex-wrap: wrap; 
    margin: 20px auto;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-align: center;
    width: 95%;
}

.summary-basic-info, .summary-premium-details {
    flex: 1;
    margin: 5px;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-size: smaller;
}

.summary-item, .premium-item, .premium-total {
    margin-bottom: 10px;
}
.hidden {
    display: none;
}

.shown {
    display: flex;
}

@media (max-width: 768px) {
    .summary-container {
        flex-direction: column;
    }
    .summary-row {
        flex-direction: column;
    }
    .summary-item {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
.hidden {
    display: none !important;
  }

  .shown {
    display: flex;
  }
