/* ========== Global Styles ========== */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
}

/* ========== Header ========== */
header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

header img {
  height: 40px;
}

header h5 {
  font-weight: 600;
  margin: 0;
}

/* ========== Buttons ========== */
button.btn {
  min-width: 160px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

button.btn i {
  margin-right: 6px;
}

button.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ========== File Select Display ========== */
#template-buttons .text-muted {
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ========== Viewer ========== */
#pdf-viewer .border {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.04);
}

/* ========== Form Elements ========== */
select#languageSelect {
  padding: 4px 10px;
  border-radius: 6px;
  border-color: #ccc;
}

.form-check-label {
  font-weight: 500;
  color: #444;
}

/* ========== Status Messages ========== */
.status-msg {
  font-size: 0.875rem;
  display: inline-block;
  vertical-align: middle;
}

/* ========== Responsive Adjustments ========== */
@media (max-width: 767px) {
  #template-buttons .d-inline-block {
    display: block !important;
    margin-bottom: 0.5rem;
  }

  button.btn {
    width: 100%;
  }

  #pdf-viewer {
    margin-top: 1rem;
  }
}


.light-background {
    background-color: #faf3e8
}

#invoice-section {
  background: linear-gradient(145deg, #f4f6f8, #e8ebef);
  padding: 60px 0;
}

.border {
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-radius: 20px;
  border: none;
}

.btn {
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
    padding: 6px 40px 6px 12px; 
  border-radius: 6px;
  border: 1px solid #ced4da;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10'%3E%3Cpolygon fill='%23666' points='0,0 8,10 16,0'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  min-width: 80px;
}

  .custom-select:focus {
    outline: none;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  }