﻿.photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 350px;
    overflow: hidden;
    display: inline-block;
    border-radius: 10px;
}

    .image-container img {
        width: 100%;
        transition: transform 0.3s ease-in-out;
    }

    .image-container:hover img {
        transform: scale(1.2);
    }

/*Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /*Semi-transparent black */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

/*Button*/
.image-overlay button {
    background: rgba(255, 255, 255, 0.8); /*White with reduced opacity */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

    .image-overlay button:hover {
        background: rgba(255, 255, 255, 1);
    }

.name-container {
    display: inline-block;
    position: absolute;
    /*bottom: -10%;*/ /*Moves it halfway below the image*/
    top: 90%;
    margin: auto;
    width: 80%;
    background: white;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .name-container .designation {
        color: #555;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 2px;
        line-height: 18px;
        text-transform: uppercase;
    }

    .name-container .full-name {
        color: #303030;
        font-size: 18px;
        font-weight: 600;
        margin-top: 12px;
    }

/**************** SELECT 2 *****************/
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #343a40;
/*    background-color: #34e;*/
}

/**************** FLOATING LABEL *****************/
.floating-label {
    position: relative;
    margin-bottom: 1.5rem;
}

    .floating-label input {
/*        padding-top: 1.25rem;*/
    }

    .floating-label label {
        position: absolute;
        top: 10px;
        left: 0.75rem;
        font-size: 0.85rem;
        color: #777;
        pointer-events: none;
        transition: all 0.2s ease;
        opacity: 0.65;
    }

    .floating-label input:focus + label,
    .floating-label input:not(:placeholder-shown) + label {
        top: -0.6rem;
        font-size: 0.75rem;
        color: #333;
        background-color: #fff;
        opacity: 1;
    }
