html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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 {

    background-color: black;
    color: white;
    /*margin-bottom: 60px;*/
}

.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.content-body {
    flex: 1; /* Tells the middle div to grow and fill all leftover space */
}

/* 1. Reset defaults and make the body a full-screen flex container */
/*body {
    margin: 0;
    padding: 0;
    height: 100vh;*/ /* Full viewport height */
    /*display: flex;
    justify-content: center;*/ /* Centers horizontally */
    /*align-items: center;*/ /* Centers vertically */
    /*background-color: #f0f2f5;
    font-family: Arial, sans-serif;
}*/

/* 2. Container to stack buttons vertically */
.button-container {
    display: flex;
    flex-direction: column; /* Stacks children vertically */
    gap: 20px; /* Space between the two buttons */
    align-items: center; /* Keeps buttons aligned in the center */
}

/* 3. Style the buttons */
.img-button {
    display: flex;
    align-items: center; /* Centers image and text vertically */
    justify-content: center; /* Centers image and text horizontally */
    border: none;
    cursor: pointer;
    padding-inline: 1px;
    width: 200px; /* Fixed width so buttons match */
}


    /* Hover and active states for better user experience */
    .img-button:hover {
        background-color: #0056b3;
    }

    .img-button:active {
        transform: scale(0.98);
    }

    /* 4. Style the images inside the buttons */
    .img-button img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Fills the button while keeping the image proportions */
        display: block;
    }

.light-modal {
    background-color: lightgray;
}

    .light-modal h5 {
        color: black;
    }

    .light-modal .h5 {
        color: black;
    }

    .light-modal .row {
        color: black;
    }

    .light-modal .close {
        color: black;
    }

    .light-modal .row .form-control {
        background-color: white;
        color: black;
    }

    .light-modal form .form-control {
        background-color: white;
        color: black;
    }

    .light-modal form label {
        color: black;
    }

    .light-modal .form-group label {
        color: black;
    }

    .light-modal .modal-body #table_successfulContacts_info {
        color: black;
    }

    .light-modal .modal-body #table_failedContacts_info {
        color: black;
    }

    .light-modal .modal-body label {
        color: black;
    }

    .light-modal .modal-body input {
        background-color: white;
        color: black;
    }

    .light-modal .modal-body textarea {
        background-color: white;
        color: black;
    }

.close {
    float: right;
    line-height: 1;
    opacity: .5;
}
.modal-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

    .modal-links a {
        color: #334fc0;
    }
form {
    display: grid;
    gap: 10px;
}

label {
    margin-top: 8px;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #c9d1df;
    border-radius: 8px;
    font: inherit;
}

    input:focus {
        outline: 2px solid #5c78ff;
        outline-offset: 1px;
    }

.primary-button {
    margin-top: 14px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background: #172033;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.form-message {
    min-height: 22px;
    margin-top: 5px;
    font-size: .92rem;
}

    .form-message.error {
        color: #b42318;
    }

    .form-message.success {
        color: #087443;
    }