﻿.card {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background: #ffffff;
    border: none;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-weight: bold;
    color: #ffffff;
}

/* Text muted for descriptions */
.text-muted {
    color: #6c757d;
}

.taskbar .taskbar-content {
    display: flex;
    height: 100%;
    width: calc(100% - 120px);
    justify-content: flex-end;
}

/* List styling */
.list-group-item {
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    transition: background-color 0.3s;
}

    .list-group-item:hover {
        background-color: #e9ecef;
    }

/* Image preview styling */
.document-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Upload section styling */
.image-box-wrapper {
    width: 40%;
    height: 200px;
    border: 2px dashed #3c8dbc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .upload-placeholder .bi-upload {
        font-size: 2.5rem;
        color: #007bff;
    }

    .upload-placeholder p {
        margin-top: 10px;
        font-size: 1rem;
        color: #6c757d;
    }

.image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.btn-center {
    display: flex;
    justify-content: center;
}


.form-check-inline {
    margin-right: 20px;
}

/* Section header styles */
.category-section h5 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 15px;
}

/* Document Section Header Color Update */
.card-title-custom {
    background: #3c8dbc;
    padding: 1pc;
    color: #ffffff;
    font-size: 16px;
}

.btn-upload {
    background: #28a745;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
}

    .btn-upload:hover {
        background: #218838;
    }

/* Customer Info Section */
.customer-info {
    background-color: white;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    /* border-radius: 12px; */
    /* margin-bottom: 30px; */
}

    .customer-info h5 {
        font-weight: bold;
        color: #343a40;
        font-size: large;
        margin-top: 0pc;
    }

    .customer-info .info-detail {
        margin-top: 10px;
    }

        .customer-info .info-detail span {
            font-weight: bold;
        }

.document-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.btn-danger {
    margin-left: 10px;
    font-size: 16px;
}

.card-text {
    margin-bottom: 5px;
}


@@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }

    .timeline {
        margin-left: 0pc !important;
    }
}

.custom-chat {
    background-color: white;
    color: black;
}

    .custom-chat:hover {
        background-color: white;
    }

.date-time {
    float: inline-end;
    position: relative;
    top: 0px;
    font-size: 16px;
}


.actions {
    display: flex;
    gap: 20px;
}

.button-spacing {
    margin-right: 15px;
}

.button-separator {
    border-right: 2px solid #ccc;
    padding-right: 15px;
    margin-right: 15px;
}



.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 500px;
    max-width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flow;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h5 {
        margin: 0;
    }

.modal-body {
    padding: 10px 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}


.details-container .loading {
    opacity: 0.7;
    pointer-events: none;
}

.modal-content .btn {
    width: 15%;
    display: flex;
    justify-content: space-between;
    background: darkgray;
}

.spinner {
    position: fixed;
    top: 40% !important;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11111;
    box-shadow: none;
}
.loading {
    opacity: 0.7 !important;
    pointer-events: none;
}
.doc .loading {
    opacity: 0.7 !important;
    pointer-events: none;
}
.spinner-image {
    width: 50px !important;
}

p {
    font-size: 15px !important;
}

.date-time-customer {
    float: inline-end;
    position: relative;
    top: -5px;
    font-size: 15px !important;
}

.file-preview {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.preview-image {
    max-width: 100px;
    max-height: 100px;
    margin-right: 10px;
    border-radius: 5px;
}

.remove-file {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    font-size: 1rem;
}

.data-label {
    font-weight: bold;
}

.customer-info-container {
    background-color: #dedede;
    height: 64px;
    /* padding: 0 20px; */
    font-size: 0.9em;
}

.customer-info .info-data {
    font-weight: light;
    color: #666;
    font-size: larger;
    margin-top: 10px;
}

}

.info-data i {
    padding-right: 10px;
    color: #5AB1DC;
}

.customer-info div {
    /* width: calc(100% - 20px); */
    padding: 0px 10px;
}

.customer-info .info-label {
    font-size: 1.2em;
    padding-bottom: 2px;
    margin-bottom: 4px;
    font-weight: 900;
}

.customer-info .info-data {
    font-weight: light;
    color: #666;
    font-size: larger;
}

.info-data i {
    padding-right: 10px;
    color: #5AB1DC;
}

.customer-actions {
    display: flex;
    flex-direction: row;
    margin-top: 0px;
    width: calc(100% - 40px);
    padding-left: 10px;
}

.customer-invite-container {
    min-width: 305px;
    width: 305px;
    background: linear-gradient(-45deg, #000, #403a6a);
    border: solid 1px #666;
    color: #fff;
    border-top: none;
    border-radius: 10px;
    font-size: 0.9em;
    position: absolute;
    right: 8px;
    top: 107px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

