
.info-circle {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #17a2b8;
    color: white;
    text-align: center;
    line-height: 15px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

.custom-select-container {
    position: relative;
    display: inline-block;
}

.custom-select {
    background: transparent;
    border: none;
    font-size: 14px;
    color: #333;
    padding: 5px 10px;
    appearance: none; /* Removes default browser styling */
    -webkit-appearance: none; /* For Safari */
    -moz-appearance: none; /* For Firefox */
    cursor: pointer;
    outline: none;
}

.shortcut-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.adjusted-padding td{
    padding: 0.25rem 0.75rem !important;
}

.table-col-details {
    font-size: 13px
}
.cash-flow-div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65vh;
}

.folder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.folder-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.folder-item:hover {
    transform: scale(1.05);
}

.folder-icon,
.file-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 8px;
}

.folder-icon {
    color: #f7c04a;
}

.file-pdf { color: #d9534f; }
.file-doc { color: #0275d8; }
.file-excel { color: #5cb85c; }
.file-text { color: #5bc0de; }
.file-image { color: #f0ad4e; }
.item-name {
    font-size: 14px;
    word-wrap: break-word;
}

/* Context Menu */
.context-menu {
    display: none;
    position: absolute;
    z-index: 1000;
    width: 150px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    border-radius: 5px;
}

.card-body {
    position: relative; /* this anchors the absolute position */
}

.context-menu ul {
    list-style: none;
    margin: 0;
    padding: 5px 0;
}

.context-menu li {
    padding: 8px 12px;
    cursor: pointer;
}

.context-menu li:hover {
    background-color: #f0f0f0;
}


.image-preview div {
    position: relative;
    display: inline-block;
}
.image-preview img {
    margin: 5px;
    border: 2px solid #ddd;
}
.image-preview .cursor-pointer {
    cursor: pointer;
}

.image-preview .image-remove-btn,
.image-preview .media-remove-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0px 5px;
}

.file-upload-area {
    text-align: center;
}
.drop-zone {
    border: 2px dashed #007bff;
    padding: 30px;
    border-radius: 10px;
    cursor: pointer;
    background-color: #f9f9f9;
}
.file-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}
.file-preview {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 6px;
    position: relative;
    width: 120px;
    text-align: center;
}
.file-preview img {
    max-width: 100%;
    max-height: 80px;
}
.file-icon {
    font-size: 40px;
}
.file-remove {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 2px 6px;
    cursor: pointer;
}


@media (max-width: 400px) {
    .icon-only .btn-text {
        display: none;
    }
    .icon-only {
        padding: 0; /* Adjust padding if needed */
    }
}

@media (max-width: 992px) {
    .cash-flow-div {
        height: auto !important;
    }
}
