﻿
.swal2-container {
    z-index: 9999999999 !important;  
}

.min-width-150 {
    min-width: 150px !important;
}

.employer-item {
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

    .employer-item:hover {
        background-color: #e0e0e0;
    }



.form-control:not(.form-control-sm) {
    min-height: 40px;
}

.form-control-sm {
    min-height: 31.75px;
}


.edit-image-container {
    position: relative;
    display: inline-block;
}

    .edit-image-container img {
        display: block;
        width: 100%; /* Adjust the width as needed */
        height: auto;
        transition: opacity 0.3s ease; /* Smooth transition for the opacity */
    }

.edit-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px; /* Adjust the size as needed */
    color: #fff; /* Adjust the color as needed */
    opacity: 0; /* Start invisible */
    transition: opacity 0.3s ease;
}

.edit-image-container:hover img {
    opacity: 0.5; /* Dim the image */
}

.edit-image-container:hover .edit-icon {
    opacity: 1; /* Make the icon visible */
}

.edit-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 5px;
}

.edit-image-container:hover::before {
    opacity: 1;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.delete-button-wrapper {
    position: absolute;
    top: -10px; /* Adjust the distance from the top */
    right: -10px; /* Adjust the distance from the right */
    z-index: 10; /* Ensure it sits on top of the image */
    border-radius: 9999px;
    background-color: white;
    border: 1px solid black;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn {
    border: none;
    background-color: transparent;
}

.delete-btn:hover,
.delete-btn:active {
    outline: none;
    opacity: 0.7;
}