/* ================================================
   HENDOSHI - PAGES - PROFILES
   ================================================
   
   Purpose: User profile pages styling
   
   Contains:
   - Invoice page layout
   - Order history displays
   - Profile settings forms
   - Account management interface
   
   Dependencies: variables.css, ui-components.css
   Load Order: Load after foundation and components
   ================================================ */

/* ===== INVOICE ===== */

.invoice-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    color: #333;
    font-family: Arial, sans-serif;
}
.invoice-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e71f7f;
    text-align: center;
}
.invoice-header h1 {
    margin: 0;
    color: #e71f7f;
    font-size: 28px;
}
.invoice-header img {
    max-width: 220px;
    height: auto;
    margin-bottom: 12px;
}
.invoice-title {
    margin-top: 18px; /* Move title lower for separation */
    color: #333;
    font-weight: 800;
    font-size: 26px;
    font-family: "Arial Black", Arial, Helvetica, sans-serif;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* Totals styling */
.totals-table {
    width: 300px;
    margin-left: auto;
}
.totals-table .total-row td {
    border-top: 2px solid #e71f7f;
    border-bottom: 2px solid #e71f7f;
    background-color: rgba(231, 31, 127, 0.08);
}
.totals-table .total-row td:first-child {
    color: #e71f7f;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.totals-table .total-row td:last-child {
    font-weight: 800;
}
.invoice-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.invoice-details-right {
    text-align: right;
}
.section {
    margin-bottom: 30px;
}
.section h2 {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
    color: #e71f7f;
    font-size: 18px;
}
table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}
th {
    padding: 12px;
    background-color: #e71f7f;
    color: white;
    text-align: left;
}
td {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
}
.totals-table td {
    text-align: right;
}
.total-row {
    background-color: #f5f5f5;
    font-weight: bold;
    font-size: 18px;
}
.footer {
    color: #666;
    font-size: 14px;
    text-align: center;
}
@media print {
    .invoice-page {
        margin: 0;
        padding: 20px;
    }
}
