/* Font Face Definitions */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/nunito.woff2') format('woff2');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/raleway.woff2') format('woff2');
}

@font-face {
  font-family: 'Gloock';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/gloock.woff2') format('woff2');
}

/* Root Variables for Easy Theming - Matching amicusae.com color scheme */
:root {
    --bg-color: #EFE1CE;
    --text-color: #2C2C2C;
    --primary-color: #E27D60;
    --secondary-color: #F0F0F0;
    --border-radius: 0.75rem;
    --base-font-size: 16px;
}

html {
    font-size: var(--base-font-size);
}

/* General Body and Container Styles */
body {
    font-family: 'Nunito', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 1rem;
}

.container {
    max-width: 37.5rem;
    margin: 0 auto;
}

/* Sections (Timer, Inputs, Dashboard) */
section {
    background-color: var(--secondary-color);
    padding: 1rem;
    margin-bottom: .2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
}

h1, h2, h3 {
    font-family: 'Gloock', Arial, serif;
    text-align: center;
    margin-bottom: 1rem;
}


/* Constrain main input area width for better desktop UX */
.interior-wrapper {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}




/* Timer Display */
.timer-display {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.75rem;
}

/* Timer Control Buttons */
.timer-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

button {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 600;
}

button:hover {
    background-color: #cf6f56;
}

/* Input Fields (Client, Project, Task, Notes) */
label {
    display: block;
    margin-bottom: 0.75rem;
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-top: 0.25rem;
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 1rem;
}

textarea {
    resize: vertical;
    height: 3.75rem;
}

/* Responsive Styles */
@media (max-width: 500px) {
    body {
        padding: 0.75rem;
    }

    .container {
        padding: 0;
    }

    .timer-display {
        font-size: 2rem;
    }

    button {
        flex: 1 1 100%;
        margin-bottom: 0.5rem;
    }
}


.autocomplete-items {
  position: absolute !important;
  background-color: #ffffff !important;
  border: 1px solid #ccc !important;
  z-index: 9999 !important;
  max-height: 10rem !important;
  overflow-y: auto !important;
  width: 100% !important;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1) !important;
  border-radius: 0.5rem !important;
}

.autocomplete-items div {
  padding: 0.5rem !important;
  cursor: pointer !important;
}

.autocomplete-items div:hover,
.autocomplete-active {
  background-color: var(--secondary-color) !important;
}

.form-text {
  color: #6c757d !important;
  font-size: 0.75rem !important;
  margin-top: 0.25rem !important;
  display: block !important;
}


#notes-input {
  height: 15rem; /* 500px ÷ 16 = 31.25rem */
  resize: vertical;
}

/* Unified Styling for Inputs/Textareas */
.styled-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 4px;
  padding: 10px;
  font-size: 16px;
  width: 100%;
}

/* Placeholder styling */
.styled-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Muted helper text */
.form-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

/* Optional: Match the contact form’s section background */
.input-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.text-highlight {
  font-weight: 500;
   color: #3b5b77; /* Dark desaturated steel blue-gray */
}


/* Limit form element width and center it */
.form-control,
textarea.form-control,
select.form-control {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}


.input-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.input-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.input-wrapper {
  max-width: 300px;
  flex: 1;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea,
.input-wrapper label,
.input-wrapper .form-text {
  width: 100%;
}

.dashboard-section h5 {
  font-weight: 600;
  color: var(--primary-color);
}
.dashboard-section p {
  font-size: 1.1rem;
}

/* === Universal input centering & tighter spacing === */
.input-wrapper,
.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 100%;
}

.input-wrapper {
  width: 100%;
  max-width: 360px; /* Ideal width for mobile input readability */
  margin-bottom: 1rem; /* Reduced spacing between inputs */
}

/* Reduce spacing for example text */
.input-wrapper small {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.8;
}

.example-table-container {
  max-width: 900px;
  padding: 1rem;
}

.example-table {
  width: 100%;
  border-spacing: 1rem;
}

.example-col {
  vertical-align: top;
  text-align: left;
  padding: 0.5rem 1rem;
}

@media (max-width: 768px) {
  .example-table {
    display: block;
  }

  .example-table tr {
    display: flex;
    flex-direction: column;
  }

  .example-col {
    padding-bottom: 1.5rem;
  }
}

.interior-wrapper {
  max-width: 50rem !important;   /* ≈ 480px */
  width: 100% !important;
  margin: 0 auto !important;
}

.container.py-5.interior-wrapper {
  padding-top: 1rem !important;
  margin-top: 1rem !important;
}




