md-dialog.deleted-collections-dialog {
    height: 70vh !important;
    min-height: 500px !important;
    max-height: 800px !important;
    width: 850px !important;
}

md-dialog.deleted-collections-dialog .container-main-dialog {
    height: 100%;
    width: 850px;
}

.deleted-collections-dialog {
    min-width: 800px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
}

.deleted-collections-dialog .container_message {
    text-align: center;
    padding: 20px;
    color: #333;
}

.deleted-collections-dialog .container-actions {
    margin-top: 20px;
    gap: 10px;
    flex-shrink: 0;
}

.deleted-collections-dialog .container-actions md-button {
    text-align: center;
    justify-content: center;
}

/* States */
.deleted-collections-dialog .loading-state {
    min-height: 200px;
}

.deleted-collections-dialog .empty-state {
    padding: 50px;
    color: #666;
}

.deleted-collections-dialog .empty-icon {
    opacity: 0.3;
    margin-bottom: 20px;
}

.deleted-collections-dialog .empty-text {
    font-size: 16px;
}

.deleted-collections-dialog .processing-state {
    min-height: 200px;
}

.deleted-collections-dialog .processing-text {
    margin-top: 20px;
    color: #666;
}

.deleted-collections-dialog .complete-state {
    padding: 20px;
}

.deleted-collections-dialog .complete-message {
    margin-bottom: 20px;
    text-align: center;
}

.deleted-collections-dialog .complete-message-multiline {
    white-space: pre-line;
}

/* Collections list */
.deleted-collections-dialog .collections-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.deleted-collections-dialog .table-container {
    flex: 1;
    overflow: hidden;
    background-color: #FFFFFF;
    border-radius: 12px;
}

.deleted-collections-dialog .table-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.deleted-collections-dialog .table-body-scroll {
    flex: 1;
    overflow-y: auto;
    max-height: 450px;
}

/* Table styles */
.deleted-collections-table {
    width: 100%;
    border-collapse: collapse;
}

.deleted-collections-table thead {
    background-color: #F5F5F5;
}

.deleted-collections-table thead th {
    font-weight: 600;
    color: #202020;
    font-size: 14px;
    text-align: left;
    padding: 12px 16px;
    background-color: #F5F5F5;
}

.deleted-collections-table .table-header-row {
    border-bottom: 2px solid #E0E0E0;
}

.deleted-collections-table .checkbox-column {
    width: 60px;
    text-align: center;
}

.deleted-collections-table .name-column {
    width: 60%;
    text-align: start;
}

.deleted-collections-table .date-column {
    width: 40%;
    text-align: start;
}

.deleted-collections-table tbody tr {
    transition: background-color 0.2s;
    border-bottom: 1px solid #EEEEEE;
}

.deleted-collections-table tbody tr:hover {
    background-color: #F9F9F9;
}

.deleted-collections-table tbody tr.selected-row {
    background-color: #EDEDED;
}

.deleted-collections-table tbody tr:last-child {
    border-bottom: none;
}

.deleted-collections-table tbody .checkbox-column {
    padding: 12px 16px;
}

.deleted-collections-table tbody .name-column {
    padding: 12px 16px;
}

.deleted-collections-table tbody .date-column {
    padding: 12px 16px;
    vertical-align: middle;
}

.deleted-collections-table .collection-cell {
    display: flex;
    align-items: center;
}

.deleted-collections-table .collection-icon {
    margin-right: 12px;
    flex-shrink: 0;
}

.deleted-collections-table .collection-details {
    flex: 1;
    min-width: 0;
}

.deleted-collections-table .collection-name {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #202020;
}

.deleted-collections-table .collection-info {
    font-size: 13px;
    line-height: 18px;
    margin-top: 2px;
    color: #5C5C5C;
}

.deleted-collections-table .member-count {
    color: #5C5C5C;
}

.deleted-collections-table .deleted-date {
    font-size: 13px;
    line-height: 20px;
    color: #202020;
}

.deleted-collections-dialog .md-blue-button.cancel-button {
    color: #5C5C5C !important;
    border-color: #5C5C5C !important;
    justify-content: center !important;
}

.deleted-collections-dialog .md-blue-button.restore-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkbox styles */
.deleted-collections-dialog md-checkbox {
    margin: 0 !important;
}

.deleted-collections-dialog md-checkbox .md-container {
    margin-right: 0 !important;
    margin-top: 20px !important;
}

.collection-row md-checkbox .md-container {
    margin-top: 9px !important;
}

.deleted-collections-table md-checkbox:not(.md-checked) .md-icon {
    border-color: #CCCCCC !important;
    background-color: transparent !important;
}

.deleted-collections-table thead md-checkbox.md-indeterminate .md-icon {
    background-color: transparent !important;
    border-color: #616161 !important;
    position: relative;
}

.deleted-collections-table thead md-checkbox.md-indeterminate .md-icon:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background-color: #616161 !important;
    border: none !important;
    transform: rotate(0deg) !important;
}

.deleted-collections-table thead md-checkbox.md-checked:not(.md-indeterminate) .md-icon {
    background-color: #616161 !important;
    border-color: #616161 !important;
}

.deleted-collections-table thead md-checkbox.md-checked:not(.md-indeterminate) .md-icon:after {
    content: none !important;
    display: none !important;
}

/* Green checkbox in body when checked */
.deleted-collections-table tbody md-checkbox.md-checked .md-icon {
    background-color: #27B899 !important;
    border-color: #27B899 !important;
}

.deleted-collections-table tbody md-checkbox.md-checked .md-icon:after {
    border-color: #FFFFFF !important;
    left: 5px;
}

.deleted-collections-table td:first-child {
    text-align: center !important;
    vertical-align: middle !important;
    padding-top: 24px !important;
    padding-bottom: 12px !important;
}

.deleted-collections-table th:first-child {
    text-align: center !important;
    vertical-align: middle !important;
}

.deleted-collections-table td:first-child md-checkbox,
.deleted-collections-table th:first-child md-checkbox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cira-buttons-icon.collection {
    background-image: url('/s/bundle/i/newUI/header-sprite.svg');
    background-position: 0 center;
    background-size: auto 24px;
    background-repeat: no-repeat;
    display: inline-block;
}

.deleted-collections-dialog .cira-buttons-icon.size32 {
    width: 32px;
    height: 32px;
    background-size: auto 32px;
}

/* Separator between includes and excludes */
.collection-info-separator {
    margin: 0 4px;
    position: relative;
    top: -2px;
    font-weight: bold;
    font-size: x-large;
}

