@import url('https://fonts.googleapis.com/css?family=Abel');

body, html {
  color: #4A4A4A;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  height: 100%;
  min-height: 100vh;
}

body {
  font-size: 1.5em;
  background-color: #F7F6F3;
  background-size: cover;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.text-box {
  background-color: #FCFAF7;
  border-radius: 20px;
  margin: 2em auto;
  padding: 20px;
  width: 90%;
  box-shadow: 0 2px 8px rgba(168, 133, 99, 0.05);
}

.text-title {
  background-color: #A88563;
  border-radius: 20px;
  margin: 2em auto;
  padding: 20px;
  width: 90%;
  color: #EAEAEA;
}

h1 {
  margin: 0;
  padding: 0;
  font-size: 2em;
  color: #326786;
  text-align: center;
  letter-spacing: 2px;
  word-spacing: 5px;
  line-height: 1em;
  font-weight: bold;
}

p {
  display: block;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.2em;
  color: #4A4A4A;
}

.text {
  display: block;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 1em;
  line-height: 1.2em;
  color: #4A4A4A;
}

hr {
  width: 70%;
  margin: 10px auto;
  border: 0;
  border-top: 1.1px solid #376b87;
}


.container1 {
  background-color: #FCFAF7;
  border-radius: 20px;
  margin: auto;
  width: 90%;
  padding: 1em;
  position: relative;
  box-shadow: 0 2px 8px rgba(168, 133, 99, 0.05);
}

#survey-form {
  margin: 0;
  width: 100%;
}

.labels-desc, .labels-desc1, .labels-desc2 {
  display: inline-block;
  text-align: right;
  width: 40%;
  vertical-align: top;
  margin-top: 10px;
  color: #5B9A9B;
}

.labels-desc1, .labels-desc2, .input-tab1 {
  width: 250px;
}

.input-tab, .input-tab1 {
  display: inline-block;
  text-align: left;
  width: 30%;
  margin-left: 10px;
  margin-right: 20px;
}

.input-tab1 {
  width: 17%;
  margin-left: 5px;
  margin-right: 20px;
}

.input-field {
  display: inline-block;
  width: 100%;
  padding: 6px 6px;
  margin: 10px 0 0 5px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.input-field:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: 0 0 8px rgba(102,175,233,.6);
}

::-webkit-input-placeholder {
   font-style: italic;
   color: rgba(74, 74, 74, 0.6);
   font-weight: 300;
}

#dropdown {
  width: 100%;
  padding: 5px;
  margin: 20px 0 10px 10px;
  /* border: 1px solid #D1E0E0; */
  /* border-radius: 3px; */
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 15px;
  background-color: #F8F9FA;
  color: #4A4A4A;
}

button {
  background-color: #ff8c00;
  border-radius: 6px;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  padding: 10px 15px;
  border: 1px solid #ff8c00;
  transition: background 0.2s;
}

button:hover {
  background-color: #FFB650;
  border: #FFB650;
}

button:active,
button:focus {
    background-color: #999999 !important;
    border-color: #999999 !important;
    color: #fff !important;
    box-shadow: none !important;
}

footer {
  text-align: center;
  font-size: 17px;
  margin: 20px;
}

footer a {
  color: #FF9F5A;
  position: relative;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: #FF7F3A;
}

footer p {
  margin: 0;
  font-size: 17px;
}

/* Error/alert styles */
.error, .alert {
  color: #FF6F61;
}

.login-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #F7F6F3;
}

.login-card {
  background: rgba(252, 250, 247, 0.95);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(168, 133, 99, 0.10);
  padding: 48px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 340px;
}

.app-title {
  font-size: 3.2em;
  font-weight: 900;
  color: #A88563;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(168, 133, 99, 0.10);
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #A88563 60%, #FF9F5A 100%);
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  margin-top: 32px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(168, 133, 99, 0.10);
  transition: background 0.2s, box-shadow 0.2s;
}
.login-btn:hover {
  background: linear-gradient(90deg, #8B5C2A 60%, #FF7F3A 100%);
  box-shadow: 0 4px 16px rgba(168, 133, 99, 0.15);
}

.login-btn .google-icon {
  width: 24px;
  height: 24px;
  background: none;
  display: inline-block;
}

/* Edge-to-edge backgrounds for sections, with margin and padding */
.panel-grey,
.panel-white {
  padding-top: 24px !important;
  padding-bottom: 24px;
  padding-left: 5vw;
  padding-right: 5vw;
}

.panel-grey {
  background: #F7F6F3;
}

.panel-white {
  padding-top: 38px;
  background: #fff;
}

/* Remove top margin only if a panel follows another panel (for joined look) */
.panel-grey + .panel-grey,
.panel-grey + .panel-white,
.panel-white + .panel-grey,
.panel-white + .panel-white {
  margin-top: 0 !important;
}

/* Centered white panel with rounded corners and shadow */
.panel-content {
  max-width: 90vw;
  margin: 2em auto;
  background: #fff;
  border-radius: 24px;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 2px 12px rgba(168, 133, 99, 0.08);
  padding: 2.5em 2em;
  text-align: center;
}

/* Blue title for panels */
.panel-title-blue {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #326786;
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 0.2em;
  letter-spacing: 2px;
  text-align: center;
}


.btn:hover, .button:hover, button[type="submit"]:hover {
  background-color: #FFB650;
  border: #FFB650;
  color: #393939;
  outline: none !important;
}

/* Also update any other font-family declarations to Verdana */
.text-box, .text-title, h1, p, .text, #dropdown, button, .login-container, .login-card, .app-title, .login-btn, .panel-title-blue, .btn, .button, button[type="submit"] {
  font-family: Verdana, Geneva, Tahoma, sans-serif !important;
}

.btn-success {
  background-color: #4e7f9c;
  margin-top: 10px;
  margin-bottom: 0px;
  color: #fff;
  border: none !important;
}

.btn-success:focus,
.btn-success:active,
.btn-success.active,
.btn-success:active:focus,
.btn-success:active:hover {
    background-color: #999999 !important;
    border: none !important;
    color: #fff !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn-danger {
  background-color: #a0907d;
  border: 1px solid #a0907d;
  margin-top: 10px;
  margin-bottom: 0px;
  margin-right: 10px;
}

#InputsWrapper .row {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 0 auto;
}

#InputsWrapper2 .row {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 0 auto;
}

.project-col, .hours-col, .add-btn-col, .remove-btn-col {
  /* Adjust widths as needed for your design */
  flex: 0 0 250px;
  margin: 0 8px;
}

.add-btn-col {
  flex: 0 0 150px;
  display: flex;
  justify-content: center;
}

.remove-btn-col {
  flex: 0 0 56px;
  display: flex;
  justify-content: center;
  margin-right: 10px;
}

/* Hide the add button in non-first rows */
#InputsWrapper .row:not(:first-child) .add-btn-col {
  visibility: hidden;
}
/* Hide the add button in non-first rows */
#InputsWrapper2 .row:not(:first-child) .add-btn-col {
  visibility: hidden;
}

.addmore-placeholder {
  display: inline-block;
  width: 120px; /* Match the width of the "Añadir más" button */
  height: 38px; /* Match the button height */
  visibility: hidden; /* Takes up space but is invisible */
}

.btn-success,
.addmore-placeholder {
    width: 105px; /* or whatever matches your design */
    min-width: 105px;
    max-width: 105px;
    text-align: center;
    box-sizing: border-box;
}

.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.btn-danger:active:focus,
.btn-danger:active:hover {
    background-color: #999999 !important;
    border: none !important;
    color: #fff !important;
    outline: none !important;
    box-shadow: none !important;
} 

.main-content {
  flex: 1 0 auto;
}

.baobab-footer {
  width: 100%;
  background: #376b87;
  color: #fff;
  text-align: center;
  font-size: 0.9em;
  padding: 8px 0 12px 0;
  margin: 0;
  letter-spacing: 0.5px;
  box-shadow: 0 -1px 4px rgba(0,0,0,0.04);
  flex-shrink: 0;
}

.bootstrap-select .dropdown-menu li.active a,
.bootstrap-select .dropdown-menu li.selected a,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
  background-color: #FFB650 !important; /* or any color you want */
  color: #fff !important;
}