@import '_content/BlazorColorPicker/BlazorColorPicker.bundle.scp.css';
@import '_content/BlazorDateRangePicker/BlazorDateRangePicker.bundle.scp.css';
@import '_content/Blazorise.RichTextEdit/Blazorise.RichTextEdit.ujcws5bfym.bundle.scp.css';
@import '_content/Volo.Abp.PermissionManagement.Blazor/Volo.Abp.PermissionManagement.Blazor.p33ll9g8os.bundle.scp.css';

/* /Pages/Index.razor.rz.scp.css */
/* Write here your styles for the Index page */
/* /Pages/Invoice/InvoiceReview.razor.rz.scp.css */
.share-modal[b-wr6oiapjbh] {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.15);
    z-index: 1050;
    min-width: 280px;
    animation: slideIn 0.3s ease-out;
}

    .share-modal.open[b-wr6oiapjbh] {
        display: block;
    }

@@keyframes slideIn {
    from[b-wr6oiapjbh] {
        transform: translateY(20px);
        opacity: 0;
    }

    to[b-wr6oiapjbh] {
        transform: translateY(0);
        opacity: 1;
    }
}

.share-modal-header[b-wr6oiapjbh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.share-modal-title[b-wr6oiapjbh] {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.share-close[b-wr6oiapjbh] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
}

    .share-close:hover[b-wr6oiapjbh] {
        color: #000;
    }

.share-option[b-wr6oiapjbh] {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    text-decoration: none;
    color: #212529;
    transition: background-color 0.2s;
}

    .share-option:hover[b-wr6oiapjbh] {
        background-color: #f8f9fa;
        text-decoration: none;
        color: #212529;
    }

    .share-option i[b-wr6oiapjbh] {
        font-size: 1.5rem;
        width: 32px;
        margin-right: 12px;
    }

.share-whatsapp i[b-wr6oiapjbh] {
    color: #25D366;
}

.share-twitter i[b-wr6oiapjbh] {
    color: #1DA1F2;
}

.share-linkedin i[b-wr6oiapjbh] {
    color: #0077B5;
}

.share-email i[b-wr6oiapjbh] {
    color: #EA4335;
}

/* ✅ NEW: Invoice table preview styles */
.invoice-table-preview[b-wr6oiapjbh] {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.invoice-header[b-wr6oiapjbh] {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 2px solid #dee2e6;
}

.invoice-body[b-wr6oiapjbh] {
    padding: 20px;
}

.invoice-summary-row[b-wr6oiapjbh] {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

    .invoice-summary-row:last-child[b-wr6oiapjbh] {
        border-bottom: none;
        font-weight: 600;
        background: #f8f9fa;
        margin-top: 10px;
        padding: 12px;
        border-radius: 4px;
    }

.draft-banner[b-wr6oiapjbh] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .draft-banner i[b-wr6oiapjbh] {
        font-size: 24px;
        margin-right: 10px;
    }
/* /Pages/Invoice/ReceiptTransform.razor.rz.scp.css */
.receipt-thumbnail[b-7sehmgzt88] {
    width: 60px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.2s;
}

    .receipt-thumbnail:hover[b-7sehmgzt88] {
        transform: scale(1.05);
        border-color: #0d6efd;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    /* Disable hover effects for placeholder images */
    .receipt-thumbnail.no-image[b-7sehmgzt88] {
        cursor: default;
        opacity: 0.7;
    }

        .receipt-thumbnail.no-image:hover[b-7sehmgzt88] {
            transform: none;
            border-color: #dee2e6;
            box-shadow: none;
        }

.receipt-preview-container[b-7sehmgzt88] {
    position: relative;
    overflow: visible;
}

.receipt-preview[b-7sehmgzt88] {
    max-width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Only enable hover magnify for real images */
.receipt-preview-container.has-image:hover .receipt-preview[b-7sehmgzt88] {
    transform: scale(1.5);
    transform-origin: center;
    z-index: 1000;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Disable magnify for placeholder images */
.receipt-preview-container.no-image .receipt-preview[b-7sehmgzt88] {
    cursor: default;
    opacity: 0.7;
}

.receipt-preview-container.no-image:hover .receipt-preview[b-7sehmgzt88] {
    transform: none;
}

.receipt-full-image[b-7sehmgzt88] {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* Editable header fields styling */
.header-edit-field[b-7sehmgzt88] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

    .header-edit-field:hover[b-7sehmgzt88] {
        background-color: #e9ecef;
        border-color: #adb5bd;
    }

    .header-edit-field:focus[b-7sehmgzt88] {
        background-color: #fff;
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }
