:root {
  --font-family: Inter, ui-sans-serif, system-ui, sans-serif, Apple Color Emoji,
    Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  --font-size: 16px;
  --color-text: #373737;
  --color-body-bg: #ffffff;
  --color-success: #0b8900;
  --color-danger: #d24141;
  --color-outline: color-mix(in srgb, #1976d2 60%, transparent);
}

.no-js .container { display: none; }
.js .container { display: block; }

html,
body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size);
  color: var(--color-text);
  background-color: var(--color-body-bg);
}

.input-upload-icon {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 4rem;
}

.btn.btn-success {
  background-color: var(--color-success);
  color: #fff;
}

.btn.btn-outline {
  background-color: #fff;
  color: #373737;
  border-color: #e0e0e0;
}

.btn.btn-primary {
  background-color: #1d1a1f;
  color: #fff;
}

.input-upload-title {
  display: block;
  font-size: 12px;
  text-align: center;
  color: #666666;
  font-weight: 400;
  line-height: 18px;
  margin: 5px 0;
}

.input-upload-head-details {
  padding: 0.5rem;
  flex: 1;
}

.file-card-wrapper {
  display: none;
  margin-top: 30px;
  border-radius: 12px;
  background-color: #f4f4f4;
  width: 100%;
}

.file-card {
  padding: 13px 13px 13px 20px;
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.remove-button {
  border-color: #cc0000 !important;
  display: inline-block;
  padding: 0.5rem 1rem !important;
  margin-left: 10px;
}

.remove-button span {
  color: #cc0000;
  font-size: 13px;
  line-height: 20px;
}

.d-inline {
  display: inline;
}

.file-name {
  font-size: 15px;
  font-weight: 500;
  word-break: break-word;
}

.file-details {
  font-size: 11px;
}

.svg-wrapper {
  margin-right: 10px;
}

.btn.disabled,
.media-button.disabled {
  background-color: #767676 !important;
  cursor: not-allowed;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  bottom: 0;
  position: fixed;
  margin: 10px;
}

.modal-title {
  font-size: 18px;
  line-height: 30px;
  font-weight: 700;
  display: block;
}

.modal-text {
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
}

.btn-close-modal {
  width: 100%;
  margin-top: 20px;
  font-size: 15px !important;
}

.input-upload {
  display: block;
  position: relative;
  border: 2px dashed #e0e0e0;
  border-radius: 20px;
  background-color: #fff;
  min-height: 250px;
}

.input-upload-head {
  display: flex;
  align-items: center;
  background-color: inherit;
  border-radius: inherit;
}

div,
span,
fieldset {
  tab-size: 4;
  margin: 0;
  padding: 0;
  border: none;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

.input-upload input {
  vertical-align: top;
  position: absolute;
  z-index: -1;
  opacity: 0;
  outline: none;
}

button,
input {
  background-color: transparent;
  border: 1px solid windowframe;
  color: inherit;
  letter-spacing: inherit;
  padding: 0.25em 0.375em;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

input {
  display: inline-block;
}

input[type="file" i] {
  cursor: default;
  color: inherit;
  text-align: start !important;
  white-space: pre;
}

.input-upload-description {
  display: block;
}

.kasko-container {
  padding: 0 25px;
}

.container {
  margin-top: 90px;
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
}

button:not(disabled),
[type="button"]:not(disabled),
[type="reset"]:not(disabled),
[type="submit"]:not(disabled) {
  cursor: pointer;
}

.btn {
  color: #fff;
  border: 2px solid transparent;
  font-size: 1rem;
  padding: 0.7rem 1.9rem;
  border-radius: 2rem;
  font-weight: 700;
}

.d-block {
  display: block !important;
  width: 100% !important;
}

button,
[type="button"],
[type="submit"] {
  -webkit-appearance: button;
}

.grid-inline {
  display: block;
  text-align: center;
}

.grid-inline-block {
  display: inline-block;
  vertical-align: middle;
  vertical-align: text-top;
}

.container-fields {
  margin-bottom: 2rem;
}

button.loading {
  position: relative;
  cursor: not-allowed;
  opacity: 0.8;
  background-color: #767676 !important;
}

button.loading span {
  visibility: hidden;
}

button.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  transform: translate(-50%, -50%);
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #e0e0e0;
  border-top: 5px solid #1d1a1f;
  border-radius: 50%;
  animation: page-spin 1s linear infinite;
  display: block;
  margin: 0 auto;
  transform: translate(-50%, -50%);
}


@keyframes page-spin {
  from {
    transform: translate(-0%, -0%) rotate(0deg);
  }
  to {
    transform: translate(-0%, -0%) rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.sr-only {
  position: absolute;
  width: 1px; 
  height: 1px; 
  padding: 0; 
  margin: -1px; 
  overflow: hidden; 
  clip: rect(0, 0, 0, 0); 
  white-space: nowrap; 
  border: 0;
}

.invalid {
  border-color: var(--color-danger) !important;
}

.error {
  display: none;
  color: var(--color-danger);
  font-size: 14px;
  text-align: right;
}

.error.visible {
  display: block;
}

.error:before {
  display: inline-block;
  content: "!";
  font-weight: 900;
  line-height: 1em;
  font-size: 1.2em;
  margin: 0 .4em 0 0;
}

.no-margin {
  margin: 0;
}

.width-100 {
  width: 100%;
}

.no-margin-top {
  margin: 10px 0 0 0;
}

.btn:focus-visible {
  outline: 2px solid var(--color-outline);
  outline-offset: 2px;
}