/*NEW STYPES*/
.navbar {
  background-color: #003366;
}

.navbar-nav .nav-link {
  text-transform: uppercase;
  color: #ffffff;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #ffcc00;
}

.hero-btn, .cta-btn, .btn {
  background-color: #0066cc;
  color: #ffffff;
  border: none;
}

.hero-btn:hover, .cta-btn:hover, .btn:hover {
  background-color: #004c99;
  color: #ffffff;
}

.card {
  background-color: #ffffff;
  color: #212529;
  padding: 1rem;
  border: 1px solid #dee2e6;
}

.card h3,
.card p {
  color: #212529;
}

.breadcrumb-item a,
.breadcrumb-item.active {
  color: #333333;
}



/*END*/


* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f9f9f9;
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.navbar-nav .nav-link {
    text-transform: uppercase;
    color: white !important;
  }

  .navbar-nav .nav-link.active {
    color: #ffc107 !important; /* Bootstrap success color */
  }

.controls {
  flex: 1 1 300px;
  max-width: 300px;
  margin-bottom: 20px;
}

.image-area {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 10px;
  overflow: hidden;
}

#imageContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#preview {
  max-width: 100%;
  max-height: 90vh;
  height: auto;
  width: auto;
  object-fit: contain;
  border: 1px solid #ccc;
  padding: 10px;
  background-color: white;
  display: none;
}

/* Controls Styling */
.tab-buttons {
  display: flex;
  margin-bottom: 10px;
}

.tab-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  background-color: #eee;
  cursor: pointer;
  transition: background-color 0.3s;
}

.tab-buttons button.active {
  background-color: #a5c1d5;
  color: white;
}

.input-group,
#dimensionsTab,
#percentageTab {
  margin-bottom: 10px;
}

input[type="number"],
input[type="range"],
select {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.range-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 5px;
}

/*.btn {
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #333;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  display: inline-block;
}

.btn:hover {
  background-color: #555;
}

.btn + .btn {
  margin-left: 10px;
}
*/
#imageInput {
  display: block;
  width: 100%;
  font-size: 14px;
  padding: 6px;
}

#imageInput.hidden {
  display: none;
}

#currentInfo {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: stretch;
  }

  .controls {
    max-width: 100%;
  }

  .btn + .btn {
    margin-left: 0;
    margin-top: 10px;
  }

  .image-area {
    padding: 10px;
  }

  #preview {
    max-height: 60vh;
  }
}
