/* Product Length Report Styles */

/* Tag Printed column - info icon */
.tag-print-details-icon {
    display: inline-block;
    color: #007bff;
}
.tag-print-details-icon:hover {
    color: #0056b3;
}

/* Tag Print Details Modal - no visible box on .modal or .modal-dialog, only .modal-content; .modal centered */
.modal-tag-print-details {
    width: 520px !important;
    left: 50% !important;
    margin-left: -260px !important;  /* half width to center */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.modal-tag-print-details .modal-dialog {
    width: 520px;
    margin: 30px auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.modal-tag-print-details .modal-content {
    background: #f9fafb;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    border: 1px solid #e5e7eb;
    padding: 0;
}

.modal-tag-print-details .modal-header {
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 20px 28px 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-tag-print-details .modal-header h5 {
    margin: 0;
    font-size: 1.4em;
    font-weight: 600;
    color: #22223b;
    letter-spacing: 0.01em;
}

.modal-tag-print-details .modal-header .close {
    margin: 0;
    opacity: 0.6;
    font-size: 28px;
    padding: 0;
    line-height: 1;
}

.modal-tag-print-details .modal-body {
    padding: 22px 28px 14px 28px;
    background: #f9fafb;
    max-height: 400px;
    overflow-y: auto;
}

.modal-tag-print-details .modal-footer {
    border-top: 1px solid #e5e7eb;
    background: #f3f4f6;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 28px;
}

.modal-tag-print-details .modal-footer .btn-default {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    padding: 10px 20px;
    font-size: 1em;
}

.modal-tag-print-details .modal-footer .btn-default:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

/* Form grid for tag details */
.tag-details-grid.form-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px 16px;
    align-items: start;
}

.tag-details-grid .form-label {
    font-size: 1em;
    font-weight: 500;
    color: #333;
    margin: 0;
    padding-top: 8px;
    letter-spacing: 0.01em;
}

.tag-details-grid .tag-detail-value {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1em;
    background: #f3f4f6;
    color: #374151;
    display: flex;
    align-items: center;
}

.tag-details-grid .tag-detail-comments {
    min-height: 60px;
    align-items: flex-start;
    white-space: pre-wrap;
    word-break: break-word;
}

