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 {
    margin-bottom: 60px;
    background-color: #cccccc; /* Used if the image is unavailable */
    background-size: cover; /* Resize the background image to cover the entire container */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    justify-content: center;
    align-items: center;
}

    #loader.active {
        display: flex;
    }

/***************************************     INPUTS     ***********************************************/

.labelperso .control-label {
    font-style: oblique;
    font-weight: bold;
}


.input-field {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 5px;
    padding: 5px;
    border: 1px solid white;
    color: #0d6efd;
}

    .input-field .check-password {
        cursor: pointer;
        padding: 0.5rem;
    }

    .input-field span {
        cursor: auto;
        color: #16ec37;
        display: inline-table;
    }

.pwdeye {
    cursor: auto;
    color: #16ec37;
}


input {
    border: none;
    outline: none;
    box-shadow: none;
    width: 100%;
    padding: 0px 2px;
    background-color: transparent;
}

.valideinput {
    background-color: transparent;
    border: none;
}

#DatabaseName, #EmailWebmaster, #EmailTest {
    max-width: 759px;
}

/***************************************     Forms     ***********************************************/

.logo-install {
    padding: 5%;
    background-color: #000;
}

.card {
    background-color: #000;
    color: white;
    height: auto;
}

#SQLDROITS, #SMTPDROITS {
    border: 5px black double;
}

.text-danger {
    color: #dc3545;
    font-weight: bold;
    font-size: 13px;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
}

#step-1 {
    font-style: italic;
    font-size: larger;
    font-weight: bold;
}

#step-2, #step-3, #step-4 {
    font-style: italic;
    font-size: medium;
    font-weight: bold;
}

#PasswordRcon, #Domaineweb {
    max-width: 781px !important;
}

#ADDADMINDROITS #Email {
    max-width: 780px;
}

#ADDADMINDROITS #preview {
    min-width: 228px;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    justify-content: center;
    align-items: center;
}

    #loader.active {
        display: flex;
    }

.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

    .drop-zone:hover {
        border-color: #0d6efd;
        background: #f8f9fa;
    }

.file-input {
    opacity: 0; /* invisible mais toujours focusable et submittable */
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}

.preview-image img {
    max-width: 100%;
    max-height: 140px;
}

.preview-image {
    max-width: 100%;
    max-height: 150px;
    margin-top: 10px;
    display: none;
}