﻿.add-witness, .remove-witness, .add-cop, .remove-cop {
    background: none;
    border: none;
    color: #004080;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .add-witness::after, .add-cop::after {
        content: "+";
        font-size: 20px;
        margin-left: 5px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .remove-witness::after, .remove-cop::after {
        content: "x";
        font-size: 20px;
        margin-left: 5px;
        font-weight: bold;
        margin-bottom: 5px;
    }

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-control {
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 10px 0;
    font-size: 16px;
    background-color: transparent;
    border-radius: 0 !important;
}

    .form-control:focus {
        border-bottom: 2px solid #ccc;
        outline: 0;
        background-color: transparent;
        box-shadow: none !important;
    }

        .form-control:not(:placeholder-shown) + .form-label,
        .form-control:focus + .form-label {
            top: -10px;
            font-size: 12px;
            color: #0C4f91;
        }

.form-label {
    position: absolute;
    top: 10px;
    font-size: 16px;
    color: #5A5A5A;
    pointer-events: none;
    transition: all 0.2s ease;
}

.form-label-2 {
    position: absolute;
    top: -20px;
    font-size: 16px;
    color: #5A5A5A;
}


.file-container {
    display: flex;
    flex-wrap: wrap;
}

.btn-primary {
    background: #0069BA; /* Button background color */
    border: 1px solid #b9b06c !important; /* Border color */
    border-radius: 30px; /* Rounded corners */
    color: #fff !important; /* Text color */
    padding: 10px 20px; /* Padding inside the button */
    font-size: 16px; /* Font size */
    transition: background 0.3s ease, transform 0.2s; /* Smooth transition */
}

    .btn-primary:hover {
        background: #021d29;
    }

    .btn-primary:focus {
        outline: none; /* Remove outline on focus */
        box-shadow: 0 0 0 2px rgba(8, 47, 80, 0.5); /* Add a glowing focus ring */
    }

.file-preview {
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    margin-right: 10px;
    margin-bottom: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
}

    .file-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.close-btn {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 18px;
    font-weight: bold;
    color: black;
    cursor: pointer;
}

/* Card header, body */
/*.card-body {
    overflow: hidden;
    display: none;
    box-sizing: border-box;
}

    .card-body.open {
        display: block;
        box-sizing: border-box;
    }

.card-header {
    cursor: pointer;
    background: #0069BA;
    color: white;
    padding: 12px 15px;
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .card-header:hover {
        background-color: #021d29;
    }

.arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease-in-out;
}

.rotate {
    transform: rotate(180deg);
}*/

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 0, 0, 0) 60%);
}

label.error {
    font-size: .85em;
    color: #f00;
    border-color: #f00;
    padding-top: 3px;
    text-align: left !important;
    font-family: 13.6px 'Samsung sans', sans-serif;
}

/*Background error card-header*/
.error-background {
    background: #FF0000 !important;
}

@media(max-width:480px) {
    .button-submit {
        width: 50% !important;
    }
}

#allowAnonymousCheckbox:focus {
    outline: none;
    box-shadow: none;
}

.accordion-button {
    background: #0069BA;
    color: white;
    font-size: 1.3rem;
    outline: none;
    box-shadow: none;
}

    .accordion-button:not(.collapsed) {
        background: #0069BA;
        color: white;
        font-size: 1.3rem;
        outline: none;
        box-shadow: none;
    }

    .accordion-button::after {
        filter: invert(1);
    }

    .accordion-button:not(.collapsed)::after {
        filter: invert(1);
    }