#CCB-calc div,
#CCB-calc input,
#CCB-calc span {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

#CCB-calc {
  min-width: 200px;
  border-color: #ddd;
  background-color: #f8f8f8;
  border-style: solid;
  border-width: 1px;
  border-radius: 4px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  /*font-size: 1em;*/
  line-height: 1.42857143;
  color: #666666;
  padding: 10;
  /*  display: inline-block; */
}

#CCB-calc #calc-header H3 {
  font-size: 0.8571em;
  font-weight: 700;
  /*    color: #ddd;*/
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0px 0px 0.7143em 0px;
  padding: 0.3571em;
}

#CCB-calc #calc-header H3 a {
  color: #666666;
  text-decoration: none;
}

#CCB-calc #calc-header {
  text-align: center;
  background-color: #ddd;
  color: #666666;
  width: 100%;
}

#CCB-calc #calc-footer p {
  text-align: right;
  font-size: 0.7em;
  margin: 0px;
  padding: 0px;
}

#CCB-calc #calc-footer p a {
  text-align: right;
  font-size: 1em;
  margin: 0px;
  padding: 0px;
  color: #666666;
  text-decoration: none;
}

#CCB-calc #calc-footer {
  background-color: #ddd;
  color: #666666;
  clear: both;
  padding: 3px 7px 3px 0px;
  margin-top: 5px;
}

#CCB-calc .col-200-4 {
  width: 33.33%;
  float: left;
}

#CCB-calc .col-200-5 {
  width: 33%;
  float: left;
  display: -webkit-box;
}

#CCB-calc .col-200-6 {
  width: auto;
  float: left;
}

#CCB-calc .col-200-8 {
  width: 66.66%;
  float: left;
}

#CCB-calc .col-12 {
  width: 100%;
  float: left;
}

#CCB-calc .col-200-offset-1 {
  margin-left: 10%;
}

@media (max-width: 200px) {
  #CCB-calc .col-200-4 {
    width: 100%;
    float: left;
  }



  #CCB-calc .col-200-8 {
    width: 100%;
    float: left;
  }
}

#CCB-calc .form-group {
  padding: 5px;
  display: block;
  clear: both;
}

#CCB-calc .form-group:after {
  clear: both;
  content: "";
  display: table;
}

#CCB-calc .control-label {
  display: inline-block;
  text-align: right;
  padding-top: 7px;
  margin-bottom: 0;
  max-width: 100%;
  font-weight: 700;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  #CCB-calc .control-label {
    text-align: left;
  }
}

#CCB-calc .input-group-addon,
#CCB-calc .input-group-btn,
#CCB-calc .input-group .form-control {
  display: table-cell;
}

#CCB-calc .input-group {
  position: relative;
  display: table;
  border-collapse: separate;
  width: 100%;
}

#CCB-calc .form-control {
  width: 80px;
  height: 34px;
  padding: 0.3571em 0.7143em;
  font-size: 14px;
  line-height: 1.42857143;
  color: #666666;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid;
  border-color: #ddd;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

#CCB-calc .form-control:last-child {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

#CCB-calc .form-control:first-child {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

#CCB-calc .input-group-addon {
  padding: 5px 10px;
  font-size: 14px;
  font-weight: 700 !important;
  line-height: 1;
  color: #ffffff !important;
  text-align: center;
  border: 1px solid;
  border-color: #0D47A1;
  border-radius: 4px;
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

#CCB-calc .input-group-addon:last-child {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

#CCB-calc .input-group-addon:last-child {
  border-left: 0;
}

#CCB-calc .input-group-addon:first-child {
  border-right: 0;
}

#CCB-calc .input-group-addon:first-child {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

/* BUTTON */
#CCB-calc .btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  /*    font-size: 1em;*/
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#CCB-calc .btn:focus,
#CCB-calc .btn:active:focus,
#CCB-calc .btn:active.focus,
#CCB-calc .btn.focus,
#CCB-calc .btn.active:focus,
#CCB-calc .btn.active.focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

#CCB-calc .btn:hover,
#CCB-calc .btn:focus,
#CCB-calc .btn.focus {
  color: #BF0E2A;
  text-decoration: none;
}

#CCB-calc .btn:active,
#CCB-calc .btn.active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

#CCB-calc .btn-info {
  color: #ffffff;
  background-color: #404241;
  border-color: #404241;
}

#CCB-calc .btn-info:hover,
#CCB-calc .btn-info:focus,
#CCB-calc .btn-info.focus,
#CCB-calc .btn-info:active,
#CCB-calc .btn-info.active {
  color: #ffffff;
  background-color: #404241;
  border-color: #404241;
}

#CCB-calc .btn-info:active,
#CCB-calc .btn-info.active {
  background-image: none;
}

#CCB-calc .btn-info .badge {
  color: #ffffff;
  background-color: #404241;
}

#CCB-calc .btn-block {
  display: block;
  width: 100%;
}

#CCB-calc .btn-block+.btn-block {
  margin-top: 5px;
  text-align: left;
}

#CCB-calc input[type="submit"].btn-block,
#CCB-calc input[type="reset"].btn-block,
#CCB-calc input[type="button"].btn-block {
  width: 100%;
}

/* ^^^^^^ BUTTON */
/* ALERT */
#CCB-calc .alert {
  padding: 5px 15px 5px 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
}

#CCB-calc .alert p {
  margin: 2px;
}

#CCB-calc .alert-success {
  color: #3c763d;
  background-color: #BF0E2A;
  border-color: #d6e9c6;
}

#CCB-calc .alert-info {
  color: #31708f;
  background-color: #BF0E2A;
  border-color: #bce8f1;
}

#CCB-calc .alert-warning {
  color: #8a6d3b;
  background-color: #BF0E2A;
  border-color: #faebcc;
}

#CCB-calc .alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

/* ^^^^^^ ALERT */
/* RADIO */
#CCB-calc input[type="radio"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  color: aqua;
}

#CCB-calc .radio label {
  min-height: 20px;
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: normal;
  cursor: pointer;
}

#CCB-calc label {
  display: inline-block;
}

/* ^^^^^^ RADIO */
#CCB-calc .center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* custom BMI settings */
#CCB-calc .input-group-addon {
  width: 35px;
  padding: 5px 5px;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #1565C0, #0D47A1) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#CCB-calc .control-label {
  padding-right: 5px;
}

#CCB-calc #calc-options {
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px;
}

#CCB-calc .Duesenbeschreibung-group {
  padding: 0px 6px 0px 6px;
  width: 100%;
}

#CCB-calc .col-200-5 .btn {
  margin-left: 0%;
  width: 100%;
}

#CCB-calc .btn {
  padding-left: 0px;
  padding-right: 0px;
}

#CCB-calc .bmi-hidden {
  display: none;
}


#CCB-calc .basis .input {
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#CCB-calc preview {
  float: left;
}

#CCB-calc .column {
  float: left;
  width: 10.33%;
  padding: 5px;
}

/* Clearfix (clear floats) */
#CCB-calc .row::after {
  content: "";
  clear: both;
  display: table;
}

#CCB-calc .bmi-img {
  width: 20%;
  padding: 30px;
  float: left;
}

.ueberschrift, .ueberschriftE{
      height: 25px;
      font-size: 1em;
      font-family: sans-serif;
      padding:5px;
      background-color: white;
      margin: 0px;
}
.bildrahmen{
  background-color: white;
  padding: 5px;
}
#details.usbc, .usbc_bilder {
font-size: 1.5em;
padding:10px;
display:table;
}




 .usbc .hauptgruppe, .usbc .gruppe, .usbc .uebersicht, .usbc .uebersicht2, .usbc .home,.usbc .duesen,.usbc .menu{
  border-style: solid;
  border-radius: 10;
  border-color: grey;
  float: left;
  opacity: 1;
  transition: 0.6s;
  font-size: 14px;
  font-family: sans-serif;
  color: black;
  margin: 10;
}
 .usbc .menu{
  border-style: solid;
  border-radius: 10;
  border-color: grey;
  float: none;
  opacity: 1;
  transition: 0.6s;
  font-size: 14px;
  font-family: sans-serif;
  color: black;
  margin: 10;
}

/*
@import url('https://fonts.googleapis.com/css?family=Nunito:400,600,700');

body{
  font-family: 'Nunito', sans-serif;
}
*/

.a{color: #E7484F}
.b{color: #F68B1D}
.c{color: #FCED00}
.d{color: #009E4F}
.e{color: #00AAC3}
.f{color:  #732982}

/*
.container{
  margin-top: 150px;
}

.text-center {
  text-align: center;
}
*/
.rainbow{
  background-color: #343A40;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  padding: 8px 16px;

}

.rainbow-1:hover{
   background-image: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 80%, #00C0FF 100%);
   animation:slidebg 5s linear infinite;
}

.rainbow-2:hover{
  background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet, red);
  animation:slidebg 2s linear infinite;
}

.rainbow-3:hover{
  background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, red);
  animation:slidebg 2s linear infinite;
}

.rainbow-4:hover{
   background-image:     linear-gradient(
      to right,
      #E7484F,
      #F68B1D,
      #FCED00,
      #009E4F,
      #00AAC3,
      #732982
    );
  animation:slidebg 2s linear infinite;
}


.rainbow-5:hover{
   background-image:     linear-gradient(
      to right,
      #E7484F,
      #E7484F 16.65%,
      #F68B1D 16.65%,
      #F68B1D 33.3%,
      #FCED00 33.3%,
      #FCED00 49.95%,
      #009E4F 49.95%,
      #009E4F 66.6%,
      #00AAC3 66.6%,
      #00AAC3 83.25%,
      #732982 83.25%,
      #732982 100%,
      #E7484F 100%



    );
  animation:slidebg 2s linear infinite;
}


@keyframes slidebg {
  to {
    background-position:20vw;
  }
}

.follow{
  margin-top: 40px;
}

.follow a{
  color: black;
  padding: 8px 16px;
  text-decoration: none;
}



.duese {
height: auto;
float: left;
display: block;
}
.hit-the-floor {
  color: #c00;
  font-size: 2em;
  font-weight: bold;
  font-family: Helvetica;
  text-shadow:
    0 1px 0 #ccc,
    0 2px 0 #c9c9c9,
    0 3px 0 #bbb,
    0 4px 0 #b9b9b9,
    0 5px 0 #aaa,
    0 6px 1px rgba(0,0,0,.1),
    0 0 5px rgba(0,0,0,.1),
    0 1px 3px rgba(0,0,0,.3),
    0 3px 5px rgba(0,0,0,.2),
    0 5px 10px rgba(0,0,0,.25),
    0 10px 10px rgba(0,0,0,.2),
    0 20px 20px rgba(0,0,0,.15);
}

.hit-the-floor {
  text-align: center;
}

 .hauptgruppe:hover,.gruppe:hover,.duesen:hover {
  border-color: red;
  opacity: 1.0;
}
 .selected {
  border-color: red;
  opacity: 1.0;
}


.duesen {
overflow: auto;
}


#slider2 {
  position: relative;
  overflow: hidden;
  margin: 0px auto 0 auto;
}

#slider2 ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

#slider2 ul li {
  position: relative;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  width: 200px;
  background: #ccc;
  text-align: center;
  line-height: 246px;
  height: auto;
}



#slider1 {
  position: relative;
  overflow: hidden;
  margin: 0px auto 0 auto;
}
#slidertxt{
  position:relative;
height: 50px;
opacity: 1;

}
.slidertxt{
float:left;
  margin: 0;
  padding: 0;
  width: 200px;
  background: #ccc;
  text-align: center;
  height: 40px;
}

#slider1 ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

#slider1 ul li {
  position: relative;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  width: 200px;
  background: #ccc;
  text-align: center;
  line-height: 246px;
  height: auto;
}


#slider3 {
  position: relative;
  overflow: hidden;
  margin: 0px auto 0 auto;
}

#slider3 ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

#slider3 ul li {
  position: relative;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  width: 200px;
  background: #ccc;
  text-align: center;
  line-height: 246px;
  height: auto;
}
/* Tooltip styling for labels with data-descr attribute */
span[data-descr] {
  position: relative;
  cursor: help;
}

span[data-descr]:hover::after {
  content: attr(data-descr);
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: auto;
  bottom: 10px;
  min-width: 250px;
  max-width: 350px;
  background: linear-gradient(135deg, #263238, #37474f);
  color: #ffffff !important;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  z-index: 99999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  white-space: normal;
  word-wrap: break-word;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

span[data-descr]:hover::before {
  content: "";
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 44px;
  border: 6px solid transparent;
  border-bottom-color: #263238;
  z-index: 99999;
}

table.zusatzinfo {
  border: 1px solid #1C6EA4;
  background-color: #EEEEEE;
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  font-size: 8px;

}
table.blueTable {
  border: 1px solid #1C6EA4;
  background-color: #EEEEEE;
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
 table.blueTable td, table.blueTable th {
  border: 1px solid #AAAAAA;
  padding: 3px 2px;
}
 table.blueTable tbody td {
  font-size: 20px;
}
 table.blueTable tr:nth-child(even) {
  background: #D0E4F5;
}
 table.blueTable thead {
  background: #1C6EA4;
  background: -moz-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  background: -webkit-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  background: linear-gradient(to bottom, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  border-bottom: 2px solid #444444;
}
 table.blueTable thead th {
  font-size: 20px;
  font-weight: bold;
  color: #FFFFFF;
  border-left: 2px solid #D0E4F5;
}
 table.blueTable thead th:first-child {
  border-left: none;
}

 table.blueTable tfoot {
  font-size: 14px;
  font-weight: bold;
  color: #FFFFFF;
  background: #D0E4F5;
  background: -moz-linear-gradient(top, #dcebf7 0%, #d4e6f6 66%, #D0E4F5 100%);
  background: -webkit-linear-gradient(top, #dcebf7 0%, #d4e6f6 66%, #D0E4F5 100%);
  background: linear-gradient(to bottom, #dcebf7 0%, #d4e6f6 66%, #D0E4F5 100%);
  border-top: 2px solid #444444;
}
 table.blueTable tfoot td {
  font-size: 14px;
}
 table.blueTable tfoot .links {
  text-align: right;
}
 table.blueTable tfoot .links a{
  display: inline-block;
  background: #1C6EA4;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 5px;
}
.g1 {
  background-image:linear-gradient(to bottom left, yellow, red);
}

.schlauchdurchmesser:active   .schlauchdurchmesser:hover {
  outline-color: black;
  outline-width: 3px;
}
.rechteknoepfe{
float:right;
}

/* Modern Result Table Styles */
.results-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}

.results-header {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    padding: 15px 20px;
    text-align: center;
}

.results-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.results-main {
    padding: 20px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

.results-table thead {
    background: #f8f9fa;
}

.results-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
}

.result-row {
    transition: background-color 0.3s ease;
}

.result-row:hover {
    background-color: #f8f9fa;
}

.result-row:nth-child(even) {
    background-color: #fafafa;
}

.results-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
}

.result-label {
    font-weight: 500;
    color: #495057;
}

.result-value {
    font-weight: 600;
    color: #1976D2;
    text-align: right;
    font-family: 'Courier New', monospace;
}

.results-info {
    background: #f8f9fa;
    padding: 20px;
    border-top: 1px solid #dee2e6;
}

.info-section h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.1em;
    font-weight: 600;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.info-row td {
    padding: 8px 12px;
    border-bottom: 1px solid #dee2e6;
}

.info-label {
    font-weight: 500;
    color: #6c757d;
}

.info-value {
    font-weight: 600;
    color: #2196F3;
    text-align: right;
    font-family: 'Courier New', monospace;
}

.disclaimer {
    font-size: 0.85em;
    color: #6c757d;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .results-container {
        margin: 10px 0;
    }
    
    .results-header, .results-main, .results-info {
        padding: 15px;
    }
    
    .results-table, .info-table {
        font-size: 13px;
    }
    
    .results-table th, .results-table td, .info-table td {
        padding: 8px 10px;
    }
}

/* Modern Input Field Styles */
.form-group {
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: visible;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.input-group:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.input-group:focus-within {
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
    transform: translateY(-1px);
}

.form-control, .ccb-form-control {
    padding: 15px 18px;
    border: none;
    background: #fff;
    font-size: 16px;
    color: #2c3e50;
    outline: none;
    transition: background-color 0.3s ease;
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    flex: 0 0 250px;
}

.form-control:focus, .ccb-form-control:focus {
    background-color: #f8f9fa;
}

.form-control::placeholder {
    color: #95a5a6;
    font-style: italic;
}

/* Select dropdown styling */
select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    flex: 0 0 250px;
}

select.form-control:focus {
    background-color: #f8f9fa;
}

/* Input group addon (labels) */
.input-group-addon, .ccb-addon {
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    color: #ffffff !important;
    padding: 15px 18px;
    font-weight: 700 !important;
    font-size: 14px;
    border: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex: 1;
    min-width: 420px;
    width: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

/* Calculate button styling */
.calculate_btn, .btn {
    background: linear-gradient(135deg, #1976D2, #0D47A1);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 20px 0;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.calculate_btn:hover, .btn:hover {
    background: linear-gradient(135deg, #0D47A1, #01579B);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
    transform: translateY(-2px);
}

.calculate_btn:active, .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(25, 118, 210, 0.3);
}

/* Navigation buttons styling */
.rechteknoepfe button, .rainbow {
    background: linear-gradient(135deg, #42A5F5, #1976D2);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 5px;
    box-shadow: 0 2px 6px rgba(66, 165, 245, 0.3);
}

.rechteknoepfe button:hover, .rainbow:hover {
    background: linear-gradient(135deg, #1976D2, #0D47A1);
    box-shadow: 0 4px 10px rgba(66, 165, 245, 0.4);
    transform: translateY(-1px);
}

/* Menu item buttons */
.menuitem a, .menuitem button {
    background: linear-gradient(135deg, #64B5F6, #2196F3);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 8px 8px 0;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(100, 181, 246, 0.3);
}

.menuitem a:hover, .menuitem button:hover {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    box-shadow: 0 4px 10px rgba(100, 181, 246, 0.4);
    transform: translateY(-1px);
}

/* Input field container improvements */
.ft_input {
    margin-bottom: 15px;
}

.col-200-6, .col-200-5 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Form section styling */
.form-group:first-child .input-group {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.form-group:last-child .input-group {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Responsive design for input fields */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        max-width: 100%;
    }
    
    .input-group-addon, .ccb-addon {
        min-width: auto;
        border-radius: 0;
        text-align: center;
        order: 1;
    }
    
    .form-control, .ccb-form-control {
        border-radius: 0;
        min-width: auto;
        max-width: none;
        width: 100%;
        flex: 1;
        order: 2;
    }
    
    select.form-control {
        min-width: auto;
        max-width: none;
        width: 100%;
        flex: 1;
    }
    
    .menuitem a, .menuitem button {
        display: block;
        margin: 5px 0;
        text-align: center;
    }
    
    .col-200-6, .col-200-5 {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .calculate_btn, .btn {
        max-width: 100%;
    }
}

/* Additional styling for better field consistency */
.ft_input {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 15px auto;
}

.col-200-6 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    float: none;
}

/* Ensure all input containers have consistent spacing */
.form-group .col-200-6 {
    margin-bottom: 15px;
}

/* Override any conflicting width settings */
#CCB-calc .form-control {
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
}

#CCB-calc select.form-control {
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
}

#CCB-calc .input-group-addon {
    min-width: 400px !important;
    flex: 1 !important;
}
