/* GuardEX Weekly Hours Tool Styles */

form.weekly-hours-form {
  max-width: 100%;
  margin-bottom: 40px;
  font-family: sans-serif;
}

form.weekly-hours-form .date-row,
form.weekly-hours-form .info-row,
form.weekly-hours-form .number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}

form.weekly-hours-form .form-group,
form.weekly-hours-form .info-row > div,
form.weekly-hours-form .number-row > div {
  flex: 1;
  min-width: 200px;
}

form.weekly-hours-form label {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

form.weekly-hours-form input,
form.weekly-hours-form textarea {
  width: 100%;
  padding: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

form.weekly-hours-form .site-block {
  margin-bottom: 30px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f9f9f9;
}

form.weekly-hours-form details {
  margin-top: 10px;
}

.resubmit-row input {
	width: auto !important;
}

/*Preview Submissions Table */
.hours-preview-table {
    display: none;
    margin-top: 20px;
    width: 100%;
}

.hours-preview-table tr {
	text-align: left;
}

.hours-preview-table.active {
    display: table;
}
#preview-container .hours-submit {
	margin-top: 15px;
	padding: 10px 25px;
}
.guardex-big-action {
    font-size: 1.18rem;
    font-weight: 600;
    padding: 15px 28px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 1px 6px #0001;
    transition: background 0.18s;
    margin-bottom: 0 !important;
}
.guardex-big-action:hover {
    background: #F47A23;
}
.hours-toolbar {
    margin: 24px 0 24px 0 !important;
    display: flex;
    gap: 18px;
    align-items: center;
}


/* GuardEX Forecast Tool Styles */

.guardex-modal-bg {
    position: fixed;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.45);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.guardex-modal-bg.active {
    display: flex !important;
}
.guardex-modal {
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    max-width: 420px;
    width: 90vw;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    font-size: 1rem;
}
.guardex-modal label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}
.guardex-modal input {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    padding: 0.4em 0.5em;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 1rem;
}
.guardex-modal button {
    margin-top: 1rem;
    margin-left: 0.5rem;
    padding: 0.4em 1.2em;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    font-size: 1rem;
    background: #ff8200;
    color: #fff;
    cursor: pointer;
}
.guardex-modal button#guardex-modal-cancel {
    background: #d1d1d1;
    color: #222;
}
