/* Not Yet Implemented UI Pattern */

/* Base styles for not-implemented features */
.not-implemented {
    position: relative;
    opacity: 0.6;
    cursor: not-allowed;
}

.not-implemented:hover {
    opacity: 0.8;
}

/* Disabled state for buttons */
.btn.not-implemented {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}

.btn.not-implemented:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
}

/* Coming soon badge */
.not-implemented::after {
    content: "Coming Soon";
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

/* Alternative badge for larger elements */
.not-implemented.large-badge::after {
    content: "🚧 Coming in Next Sprint";
    font-size: 12px;
    padding: 4px 8px;
    top: -12px;
    right: -12px;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

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

/* Card overlay for not-implemented sections */
.not-implemented-overlay {
    position: relative;
}

.not-implemented-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(108, 117, 125, 0.1);
    backdrop-filter: blur(1px);
    z-index: 5;
    border-radius: inherit;
}

/* Tooltip for not-implemented features */
.not-implemented[data-bs-toggle="tooltip"] {
    cursor: help;
}

/* Special styling for navigation items */
.nav-link.not-implemented {
    color: #6c757d !important;
}

.nav-link.not-implemented:hover {
    color: #5a6268 !important;
}

/* Form controls that are not implemented */
.form-control.not-implemented,
.form-select.not-implemented {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

/* Table rows for not-implemented features */
.table .not-implemented td {
    background-color: rgba(108, 117, 125, 0.05);
    color: #6c757d;
}

/* Modal sections that are not implemented */
.modal .not-implemented-section {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 10px 0;
}

.not-implemented-section .placeholder-text {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 10px;
}

.not-implemented-section .coming-soon-badge {
    display: inline-block;
    background: linear-gradient(45deg, #17a2b8, #007bff);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .not-implemented::after {
        font-size: 8px;
        padding: 1px 4px;
        top: -6px;
        right: -6px;
    }

    .not-implemented.large-badge::after {
        content: "🚧 Soon";
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* Avatar circles for customer list */
.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

/* Sticky table header */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Data Grid Styles */
.data-grid-container {
    margin-bottom: 2rem;
}

.data-grid-container .table-responsive {
    max-height: 70vh;
    overflow-y: auto;
}

.data-grid-container .sticky-top {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8f9fa;
}

.data-grid-container .table th {
    border-top: none;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.data-grid-container .table td {
    vertical-align: middle;
    padding: 0.75rem;
}

.data-grid-container .table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Virtualization support */
.data-grid-container .table tbody {
    position: relative;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .data-grid-container .table-responsive {
        max-height: 60vh;
    }

    .data-grid-container .table td,
    .data-grid-container .table th {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    .data-grid-container .pagination {
        justify-content: center !important;
    }

    .data-grid-container .pagination .page-link {
        padding: 0.375rem 0.75rem;
    }
}

/* Print styles - hide not-implemented indicators */
@media print {

    .not-implemented::after,
    .not-implemented-overlay::before {
        display: none !important;
    }
}
