﻿.bg-trans-move-in {
    background-color: rgb(237, 237, 255);
}

.bg-trans-move-out {
    background-color: rgb(255, 211, 211);
}


/* Show all button section */
.show-all-section {
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-top: 1px solid #e9ecef;
}

    .show-all-section .btn {
        border-radius: 6px;
        font-weight: 500;
        transition: all 0.2s ease;
    }

        .show-all-section .btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

/* ========================================
   DIALOG STYLES - Reusable for all _Dialog.cshtml files
   ======================================== */

/* Dialog Container */
.dialog-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0;
}

/* Dialog Header */
.dialog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Header Style Variants */
.dialog-header.header-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    border-left: 4px solid #dc3545;
}

.dialog-header.header-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-left: 4px solid #667eea;
}

.dialog-header.header-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border-left: 4px solid #28a745;
}

/* Status Badge Variants */
.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.status-badge.status-danger {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-badge.status-warning {
    background: rgba(186, 192, 197, 0.15);
    color: #f5f5f5;
    border: 1px solid rgba(204, 203, 203, 0.3);
}

.status-badge.status-info {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-badge.status-success {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Status Link Styling */
.status-link {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.status-link:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.status-link:hover .status-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dialog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.dialog-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dialog-title i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.dialog-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.dialog-badges {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    z-index: 1;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}


/* Header Status Row */
.header-status-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    align-items: flex-start;
    justify-content: space-between;
}

.header-status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.header-status-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-status-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.header-status-value .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.header-status-value .btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.header-status-value .btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px);
}

/* Stock Quantity Display */
.stock-quantity {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.stock-quantity:last-child {
    margin-bottom: 0;
}

.unit-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.unit-label small {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Box Size Display */
.box-size-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 1rem;
}

.box-size-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.box-size-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 60px;
    text-align: center;
}

/* Pricing Card */
.pricing-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.pricing-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.75rem 1rem;
    color: white;
}

.pricing-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-content {
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.cost-row {
    background: #f8f9fa;
    margin: 0 -1rem;
    padding: 0.5rem 1rem;
    border-radius: 0 0 12px 12px;
}

.price-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.85rem;
    min-width: 50px;
}

.price-values {
    display: flex;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 70px;
}

.price-amount {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.15rem;
}

.price-currency {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 500;
}

.price-unit {
    font-size: 0.65rem;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.15rem;
}

.pricing-actions {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.pricing-actions .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pricing-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.pricing-actions .btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pricing-actions .btn i {
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

/* Info Sections */
.info-section {
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-section-header {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #c5c5c5;
    color: #495057;
}

.info-section-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section-title i {
    color: #667eea;
    font-size: 1rem;
}

.info-section-content {
    padding: 0.5rem;
}

.info-section-content .table {
    margin-bottom: 0;
    border: none;
}

.info-section-content .table thead th {
    border-bottom: 1px solid #dee2e6;
    border-top: none;
}

.info-section-content .table tbody td {
    border-top: 1px solid #f8f9fa;
    border-bottom: none;
}

.info-section-content .table tbody tr:last-child td {
    border-bottom: none;
}

.info-section-actions {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: right;
}

.info-section-actions .btn {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.info-section-actions .btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.info-section-actions .btn i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Activities Section Specific Styling */
.info-section .activities-section {
    margin-bottom: 0;
}

.info-section .activities-section .card {
    border: none;
    box-shadow: none;
    background: transparent;
}

.info-section .activities-section .card-body {
    padding: 0;
}

.info-section .activities-section .table {
    margin-bottom: 0;
    border: none;
}

.info-section .activities-section .table thead th {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-top: none;
    font-weight: 600;
    font-size: 0.85rem;
    color: #495057;
    padding: 0.75rem;
}

.info-section .activities-section .table tbody td {
    border-top: 1px solid #f8f9fa;
    border-bottom: none;
    padding: 0.75rem;
    font-size: 0.85rem;
}

.info-section .activities-section .table tbody tr:last-child td {
    border-bottom: none;
}

.info-section .activities-section .table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Product Image Card */
.product-image-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.image-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.75rem 1rem;
    color: white;
}

.image-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.image-content {
    padding: 1rem;
    text-align: center;
    border-radius: 12px 12px 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-link {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-link:hover {
    transform: scale(1.02);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.image-link:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: white;
    font-size: 2rem;
}

/* Responsive adjustments for header status row */
@media (max-width: 768px) {
    .header-status-row {
        gap: 1rem;
        justify-content: center;
    }
    
    .header-status-item {
        min-width: 70px;
    }
    
    .header-status-label {
        font-size: 0.7rem;
    }
}



