@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('DocumentStep.css');

:root {
    --bs-primary: #115aa4;
    --bs-primary-rgb: 17, 91, 164;
    --bs-secondary: #6c757d;
    --bs-secondary-rgb: 108, 117, 125;
    --samhls-color-primary: #115ba4;
    /* Add other color overrides as needed */
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

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

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* Validation error focus highlight */
.validation-error-focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    animation: pulse-border 1s ease-in-out;
}

@keyframes pulse-border {
    0%, 100% {
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }
    50% {
        box-shadow: 0 0 0 0.3rem rgba(220, 53, 69, 0.4);
    }
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iN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aTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


table {
    width: 100%;
    border-collapse: collapse; /* Ensures borders are collapsed */
}

th, td {
    border: 1px solid grey; /* Sets a solid border */
    padding: 8px; /* Adds padding for better readability */
    text-align: left; /* Aligns text to the left */
}

th {
    background-color: #f2f2f2; /* Adds a background color to header cells */
}

.nav-container {
    position: relative;
}

.nav-login {
    position: absolute;
    right: 0;
    top: -41px;
}

.nav-icon {
    color: #fff;
}

.nav-custom {
    box-shadow: 2px 4px 5px -2px rgba(204,204,204,1);
}





body, html {
    height: 100%;
    margin: 0;
}

.landing-page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa; /* Light gray background, adjust as needed */
}

.landing-main-content {
    flex-grow: 1;
    display: flex; /* Helps in centering content if needed */
    flex-direction: column; /* Aligns children vertically */
}

.landing-footer {
    background-color: #e9ecef; /* Slightly darker footer */
    padding: 1rem 0;
    font-size: 0.9em;
    border-top: 1px solid #dee2e6;
}

    .landing-footer a {
        color: #007bff; /* Standard link color */
    }

        .landing-footer a:hover {
            text-decoration: underline;
        }

/* Styles for the hero section within the landing page content */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Example gradient */
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* Adjust as needed */
}

    .hero-section h1 {
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 1rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    }

    .hero-section .lead {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        max-width: 700px;
    }

.hero-actions .btn {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    border-radius: 0.3rem;
    min-width: 150px;
}

.btn-primary-custom {
    background-color: #ffffff;
    color: #007bff;
    border: 2px solid #ffffff;
}

    .btn-primary-custom:hover {
        background-color: rgba(255,255,255,0.9);
        color: #0056b3;
    }

.btn-secondary-custom {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

    .btn-secondary-custom:hover {
        background-color: rgba(255,255,255,0.1);
        color: #ffffff;
    }

.features-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

    .features-section h2 {
        text-align: center;
        margin-bottom: 3rem;
        color: #343a40;
    }

.feature-item {
    text-align: center;
    margin-bottom: 2rem;
}

    .feature-item .icon {
        font-size: 3rem; /* Ensure you have an icon font like Bootstrap Icons or Font Awesome */
        color: #007bff;
        margin-bottom: 1rem;
    }

    .feature-item h3 {
        font-size: 1.5rem;
        color: #343a40;
        margin-bottom: 0.5rem;
    }

    .feature-item p {
        color: #6c757d;
    }

.info-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa; /* Or alternate background */
}

    .info-section h2 {
        text-align: center;
        margin-bottom: 3rem;
        color: #343a40;
    }

    .info-section p {
        font-size: 1.1rem;
        line-height: 1.7;
        color: #495057;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

.registration-prompt {
    padding: 3rem 2rem;
    background-color: #e9ecef;
    text-align: center;
}

    .registration-prompt h3 {
        margin-bottom: 1rem;
    }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.text-danger {
    color: #c71a1a !important;
}

.cap-label label {
    min-height: 25px !important;
}

.demo-page-content td a {
    color: #104065 !important;
}

.k-button-text {
    color: var(--samhls-color-primary) !important;
}

.k-grid .k-table-thead, .table-light {
    font-weight: 500 !important;
}

.tab-bg {
    background-color: white !important;
}

.tab-bg section {
    box-shadow: none !important;
}

.ml-1{
    margin-left:10px;
}
.w-200 {
    width: 200px;
}

.signature-container {
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #ffffff;
    padding: 10px;
    width: 100%;
}

canvas.signature-pad {
    width: 100%;
    height: 150px;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.item-number {
    color: #4b5563 !important;
}

.item-completion {
    color: #4b5563 !important;
}


.center-wrap {
    text-align: center;
}

.action-buttons {
    height: 100%;
}

.btn-icon {
    width: 32px; /* tweak to match your btn-sm height */
    height: 32px; /* keeps it square so icon centers perfectly */
    padding: 0; /* remove extra padding */
    line-height: 1; /* avoid vertical misalignment from line-height */
}

    .btn-icon i {
        pointer-events: none;
    }
/* avoid click stealing by the icon */
