/* Material Icons - CDN Version for Production */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* Roboto Font Family Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

html {
  font-size: 16px;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
}

/* Large heading styles (32px) */
h1, .govuk-heading-xl {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25; /* ~40px */
}

/* Override GOV.UK heading-l class with specific typography */
.govuk-heading-l {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 700 !important;
  font-size: 19px !important;
  line-height: 25px !important;
  letter-spacing: 0px !important;
}

/*GOV.UK text classes to use Roboto & 16px*/
.govuk-body,
.govuk-body-s,
.govuk-body-l,
.govuk-list,
.govuk-details,
.govuk-details__summary,
.govuk-details__summary-text,
.govuk-details__text,
.govuk-inset-text,
.govuk-button,
.govuk-link,
.govuk-label,
.govuk-hint,
.govuk-error-message,
.govuk-panel__body,
.govuk-summary-list,
.govuk-table,
.govuk-caption-m,
.govuk-caption-l,
.govuk-caption-xl,
.govuk-tag,
.govuk-warning-text {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 16px !important;
}

.govuk-panel__title {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 24px !important;
}

/* Medium heading styles (19px) */
h2, .govuk-heading-l,
.heading-medium {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 700 !important;
    font-size: 19px !important;
    line-height: 25px !important;
    letter-spacing: 0px !important;
}

/* Other heading styles keep default GOV.UK styling */
h3, h4, h5, h6,
.govuk-heading-m,
.govuk-heading-s {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.hods-header__logo {
    display: block;
    width: 110px;
    height: auto;
    margin-right: 0;
    margin-bottom: 15px;
    line-height: 0;
}

/* Material Icons Tick Implementation - GOV.UK Style */
.material-tick-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: #1a7f50; /* GOV.UK green for tick background */
  border-radius: 50%;
  margin: 0 auto 15px;
}

.material-tick-icon .check-icon {
  font-size: 36px;
  color: #ffffff; /* White tick */
  line-height: 1;
  font-weight: 900; /* Thicker tick */
}

/* Responsive sizing variants */
.material-tick-icon.small {
  width: 32px;
  height: 32px;
}

.material-tick-icon.small .check-icon {
  font-size: 18px;
}

.material-tick-icon.large {
  width: 80px;
  height: 80px;
}

.material-tick-icon.large .check-icon {
  font-size: 45px;
}

/* Mobile responsive - smaller tick icon on mobile devices */
@media (max-width: 768px) {
  .material-tick-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
  }
  
  .material-tick-icon .check-icon {
    font-size: 28px;
  }
}

/* File Upload Styles */
.file-upload-container {
    margin-bottom: 20px;
}

.selected-files-container {
    margin-top: 20px;
}

.selected-files-container .govuk-summary-list {
    border-top: 1px solid #b1b4b6;
}

.selected-files-container .govuk-summary-list__row {
    border-bottom: 1px solid #b1b4b6;
}

.selected-files-container .govuk-summary-list__key {
    font-weight: 400;
}

.remove-file-btn {
    background: none;
    border: none;
    color: #1d70b8;
    text-decoration: underline;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
}

.remove-file-btn:hover {
    color: #003078;
}

.remove-file-btn:focus {
    outline: 3px solid #ffdd00;
    outline-offset: 0;
    background-color: #ffdd00;
    color: #0b0c0c;
}

/* File upload error styling */
.govuk-form-group--error .file-upload-container {
    border-left: 5px solid #d4351c;
    padding-left: 15px;
    margin-left: -20px;
}

/* Hide file input when disabled */
#file-upload-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}