﻿.emp-avatar {
    cursor: default;
}

    .emp-avatar:hover {
        transform: scale(1.05);
        transition: 0.15s;
    }

.toast-top-center-ok { 
    top: 8%; 
    left: 42%; 

  
} 


.toastrimagsize {

    width:200px;
}

.ModalPop {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*z-index: 1050;*/
    background-color: white;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.5); /* translucent grey */
}


#entryModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*z-index: 1050;*/
    background-color: white;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.5); /* translucent grey */
}



/* Flatpickr wrapper can be the input itself or a sibling; normalize spacing */
.flatpickr-wrapper,
.form-control.flatpickr-input {
    display: block;
    width: 100%;
}

/* Let inputs grow within .col-* flex containers */
[class*="col-"] > .form-control {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}


/*ddl selection color-profile highlight
*/
/* Smooth color transition when changing */
/*select.form-control {
    transition: all 0.3s ease;
    font-weight: 600;*/
    /*border: 2px solid #dee2e6;*/
    /*border-radius: 8px;*/
    /*box-shadow: 0 0 5px rgba(0,0,0,0.05);*/
    /*padding: 6px 10px;*/
    /*background-color: #fff;
}*/

    /* Highlight selected dropdown */
    select.form-control:focus {
        outline: none !important;
        border-color: #0dcaf0;
        box-shadow: 0 0 6px rgba(13, 202, 240, 0.6);
        background-color: #f8f9fa;
    }

    /* Apply bright effect when color changes */
    select.form-control.bright-selected {
        filter: brightness(1.3) saturate(1.2);
    }

    /* Optional hover effect */
    select.form-control:hover {
        box-shadow: 0 0 8px rgba(0,0,0,0.08);
        cursor: pointer;
    }



  /*  Dashboard Action buttons*/

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 12px;
    padding: 6px;
}

.action-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 14px 4px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

    .action-btn i {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .action-btn span {
        font-size: 12px;
        font-weight: 500;
        color: #333;
    }

    .action-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }

@media (max-width: 768px) {
    .action-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.modalBackground {
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.modalPopup {
    background: #4c4a4a;
    width: 450px;
    border-radius: 8px;
    padding: 20px;
    z-index: 10001;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.popup-container {
    padding: 10px;
}

.bg-purple {
    background: #6f42c1;
}

.bg-teal {
    background: #20c997;
}

.bg-orange {
    background: #fd7e14;
}

.bg-indigo {
    background: #6610f2;
}

.bg-cyan {
    background: #17a2b8;
}

.bg-amber {
    background: #ff6f00;
}

.bg-brown {
    background: #795548;
}

.bg-pink {
    background: #d63384;
}
.emp-avatar {
    position: relative;
    width: 42px;
    height: 42px;
}

    .emp-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

.photo-idle img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.status-working {
    background: #28a745;
}

.status-idle {
    background: #adb5bd;
}

.status-off {
    background: #adb5bd;
}
/* Grey */
.status-idle {
    background: #28a745;
}
/* Green */
.status-working {
    background: #ffc107;
}
/* Yellow */
.avatar-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #6c757d;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.unread-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ff3b3b;
    color: white;
    border-radius: 50%;
    font-size: 11px;
    padding: 2px 6px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.top-accent {
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6f42c1);
}

.icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: inset 0 0 0 1px #e3e7ec;
}

.modal-content {
    transition: transform .25s ease, box-shadow .25s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}
.shift-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eef3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    font-size: 28px;
}

.benefits {
    display: grid;
    gap: 12px;
}

.benefit-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

    .benefit-item i {
        color: #0d6efd;
        font-size: 16px;
    }
.benefits {
    display: grid;
    gap: 12px;
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px #e4e8ee;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.benefit-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

    .benefit-text strong {
        font-size: 14px;
    }

    .benefit-text small {
        font-size: 12px;
        color: #6c757d;
    }
.shift-modal {
    border-radius: 18px;
    background: linear-gradient(135deg, #f6f9ff, #ffffff);
}

.shift-hero {
    width: 64px;
    height: 64px;
    margin: auto;
    border-radius: 50%;
    background: #e8f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.shift-message p {
    font-size: 14px;
    color: #495057;
}

.shift-benefits {
    display: grid;
    gap: 10px;
}

.shift-benefit {
    background: #f2f6ff;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shift-btn {
    background: #4f6ef7;
    color: white;
    border: none;
    padding: 10px 32px;
    border-radius: 999px;
    font-weight: 500;
    box-shadow: 0 8px 18px rgba(79, 110, 247, 0.25);
}

    .shift-btn:hover {
        background: #405de6;
    }
.shift-hero {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}
