/* Styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo h1 {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 0.8;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-account, .btn-admin, .btn-login, .btn-register {
    padding: 0.625rem 1.25rem;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-login {
    color: var(--text-color);
}

.btn-login:hover {
    color: var(--secondary-color);
}

.btn-register {
    background: var(--primary-color);
    color: white;
}

.btn-register:hover {
    background: #34495e;
}

.btn-logout {
    background: var(--accent-color);
    color: white;
    border: none;
}

.btn-logout:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-admin {
    background: var(--primary-color);
    color: white;
}

.btn-admin:hover {
    background: #34495e;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.cart-icon {
    position: relative;
    padding: 0.625rem 1.25rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-icon:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: block;
}

.product-card .product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.4;
}

.product-card h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.product-card h3 a:hover {
    color: var(--secondary-color);
}

.product-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: auto;
}

.product-card .old-price {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: var(--text-light);
    margin-left: 0.5rem;
}

.product-card .btn-add-cart {
    margin-top: 1rem;
    width: 100%;
    padding: 0.75rem;
    font-size: 0.95rem;
}

.product-card .out-of-stock {
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 0.5rem;
    text-align: center;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Forms */
.auth-form {
    max-width: 500px;
    margin: 3rem auto;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.auth-form h1 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
}

.auth-link a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Cart */
.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.cart-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--bg-light);
}

.item-info {
    flex: 1;
}

.item-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.item-price {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-quantity input {
    width: 60px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
}

.item-subtotal {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    min-width: 100px;
    text-align: right;
}

.item-remove .btn-danger {
    background: var(--accent-color);
    color: white;
}

.item-remove .btn-danger:hover {
    background: #c0392b;
}

.cart-summary {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--border-color);
    color: var(--primary-color);
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.empty-cart p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.product-images img {
    width: 100%;
    border-radius: 12px;
    background: var(--bg-light);
    box-shadow: var(--shadow);
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin: 1.5rem 0;
}

.product-price .current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.product-price .old-price {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-short-description {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin: 1.5rem 0;
}

.product-stock {
    margin: 1.5rem 0;
}

.in-stock {
    color: var(--success-color);
    font-weight: 600;
    font-size: 1rem;
}

.out-of-stock {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
}

.quantity-selector {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-selector label {
    font-weight: 500;
}

.quantity-selector input {
    width: 100px;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.product-description {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.product-description h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-description p {
    line-height: 1.8;
    color: var(--text-color);
}

/* Categories */
.categories {
    margin: 4rem 0;
}

.categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-decoration: none;
    color: var(--primary-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Page Categories */
.page-header {
    text-align: center;
    margin: 3rem 0 4rem;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.category-section {
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--border-color);
}

.category-section:last-child {
    border-bottom: none;
    margin-bottom: 2rem;
}

.category-header {
    margin-bottom: 2.5rem;
}

.category-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.category-description-text {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.btn-view-all {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    padding: 0.5rem 0;
}

.btn-view-all:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.no-products-category {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
}

.no-products-category p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Featured Products */
.featured-products {
    margin: 4rem 0;
}

.featured-products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Products List */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.products-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    min-width: 250px;
}

.search-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.category-description {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 1.2rem;
    color: var(--text-light);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination a {
    padding: 0.75rem 1rem;
    background: white;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: var(--secondary-color);
    color: white;
}

/* Account */
.account-nav {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    background: white;
    padding: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.account-nav a {
    padding: 1.25rem 2rem;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
    font-weight: 500;
}

.account-nav a:hover {
    background: var(--bg-light);
    color: var(--secondary-color);
}

.account-nav a.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    background: var(--bg-light);
}

.account-content {
    background: white;
    padding: 2.5rem;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow);
}

.welcome h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.recent-orders h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
}

.orders-table th {
    background: var(--bg-light);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
}

.orders-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.orders-table tr:hover {
    background: var(--bg-light);
}

.status {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #d1ecf1;
    color: #0c5460;
}

.status-shipped {
    background: #d4edda;
    color: #155724;
}

.status-delivered {
    background: #d1ecf1;
    color: #0c5460;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Checkout */
.checkout-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.checkout-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.checkout-section:last-of-type {
    border-bottom: none;
}

.checkout-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.checkout-section select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.checkout-summary {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.checkout-summary h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.checkout-success {
    text-align: center;
    background: white;
    padding: 4rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.checkout-success h1 {
    color: var(--success-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Addresses */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.address-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.address-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow);
}

.address-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

.badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.address-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.order-info, .order-addresses {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.address-block {
    margin-bottom: 1.5rem;
}

.address-block h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.text-right {
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
    
    .account-nav {
        flex-direction: column;
        border-bottom: none;
    }
    
    .account-nav a {
        border-bottom: 1px solid var(--border-color);
        border-left: 3px solid transparent;
        margin-bottom: 0;
    }
    
    .account-nav a.active {
        border-left-color: var(--secondary-color);
        border-bottom-color: var(--border-color);
    }
    
    .products-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-form {
        width: 100%;
    }
    
    .search-form input {
        flex: 1;
        min-width: 0;
    }
}

/* Styles pour les pages dynamiques */
.page-content {
    padding: 3rem 0;
    min-height: 60vh;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.page-body {
    line-height: 1.8;
    font-size: 1.1rem;
}

.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.page-body h2 {
    font-size: 2rem;
}

.page-body h3 {
    font-size: 1.5rem;
}

.page-body p {
    margin-bottom: 1.5rem;
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.page-body ul,
.page-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.page-body li {
    margin-bottom: 0.5rem;
}

.page-body a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.page-body a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-body blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-light);
}

.page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.page-body table th,
.page-body table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.page-body table th {
    background: var(--bg-light);
    font-weight: 600;
}