html, body {
    height: 100vh;
    margin: 0;
}

.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;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input, select, textarea {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.form-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    margin: 0.4rem 0;
}

.at-least-one-feedback {
    border-color: #ff9900;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ff9900'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ff9900' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-check-input {
    transform: scale(1.8);
}

svg {
    fill: currentColor;
    max-width: 100%;
    vertical-align: baseline;
}

#hitLogoDraw path:not([fill="none"]) {
    fill: transparent;
    stroke-width: 6;
    stroke: #d70f27;
    animation: draw 2s forwards infinite;
}

#hitLogoDraw path:nth-child(1) {
    stroke-dasharray: 1260.113525390625;
    stroke-dashoffset: 1260.113525390625;
}

#hitLogoDraw path:nth-child(2) {
    stroke-dasharray: 877.6909790039062;
    stroke-dashoffset: 877.6909790039062;
}

#hitLogoDraw path:nth-child(3) {
    stroke-dasharray: 562.6549072265625;
    stroke-dashoffset: 562.6549072265625;
}

#hitLogoDraw path:nth-child(4) {
    stroke-dasharray: 561.8385009765625;
    stroke-dashoffset: 561.8385009765625;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

#formSubmissionScreen {
    display: none; /* Initially hidden */
}

@keyframes fill {
    from {
        fill: transparent;
    }

    to {
        fill: var(--fill-color, rgb(106, 250, 118));
        /* Default fill color, can customize per path */
    }
}

#successDraw path:not([fill="none"]) {
    fill: transparent;
    stroke-width: 0.3;
    animation: draw 1.5s forwards, fill 0.5s 2s forwards;
    /* fill animation starts after draw */
}

#successDraw path:nth-child(1) {
    stroke-dasharray: 94.26103973388672;
    stroke-dashoffset: 94.26103973388672;
    stroke: rgb(130, 207, 125);
    --fill-color: rgb(130, 207, 125);
}

#successDraw path:nth-child(2) {
    stroke-dasharray: 24.591815948486328;
    stroke-dashoffset: 24.591815948486328;
    stroke: rgb(75, 181, 67);
    --fill-color: rgb(75, 181, 67);
    /* Fill color for the second path */
}

@media (orientation: landscape) {
    .page-width {
        width: 85%;
    }

    .header {
        font-size: 1.325rem;
        font-weight: 500;
    }

    .logo-div {
        height: 3.8rem;
    }
}

@media (orientation: portrait) {
    .page-width {
        width: 95%;
    }

    .header {
        font-size: 1rem;
        font-weight: 500;
    }

    .logo-div {
        height: 3rem;
    }
}