/* style.css */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --background-light: #f4f4f4;
    --text-color: #333;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    background-color: transparent;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--background-light);
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Header Styles */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ff0000;
    padding: 10px 15px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

header h1 {
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.header-right h1 {
    margin: 0;
    display: inline-block;
}

.user-welcome {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.user-welcome span,
.user-welcome a,
.login-link,
.cart-icon {
    display: inline-block;
    margin: 0 5px;
}

nav {
    flex: 1;
}

.menu > li > a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.menu > li > a:hover {
    color: var(--secondary-color);
}

/* User Menu Dropdown */
.user-menu-dropdown {
    position: relative;
    display: inline-block;
}

.user-menu-btn {
    background-color: transparent;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.user-menu-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #2c3e50;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    top: 100%;
    margin-top: 5px;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--primary-color);
}

.dropdown-content a:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.dropdown-content a:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.user-menu-dropdown.active .dropdown-content {
    display: block;
}

.user-menu-dropdown.active .user-menu-btn {
    background-color: rgba(255,255,255,0.2);
}

.result {
	padding: 0px 36px;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    gap: 5px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Login/Logout Links */
.login-link,
.logout-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.login-link:hover,
.logout-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.informatie {
	width: 70%;
	padding: 2rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.product-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card-content {
    padding: 1rem;
}

.product-card-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.product-price {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-stock {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #666;
}

.out-of-stock {
    color: #e74c3c;
    font-weight: bold;
}

/* Buttons */
.add-to-cart-btn,
.btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn {
    font-weight: 500;
}

.add-to-cart-btn:hover:not(.disabled),
.btn:hover {
    background-color: #2980b9;
}

.add-to-cart-btn.disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Messages */
.message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    border-radius: 5px;
    z-index: 1000;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.message-error {
    background-color: #e74c3c;
    color: white;
}

.message-success {
    background-color: var(--secondary-color);
    color: white;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

/* Search Results Styling */
.search-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.search-summary {
    margin-bottom: 20px;
}

.search-summary h2 {
    color: #333;
    font-size: 24px;
}

.error-message {
    background-color: #fadbd8;
    color: #e74c3c;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.no-results {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.no-results ul {
    list-style-position: inside;
    text-align: left;
    max-width: 400px;
    margin: 20px auto;
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.search-result-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.search-result-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.search-result-card h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.search-result-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.result-price {
    font-size: 20px;
    font-weight: bold;
    color: #27ae60;
    margin: 10px 0;
}

.result-actions {
    margin-top: 15px;
}

/* Pagination styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination .current {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* Dark mode styles */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.dark-mode header {
    background-color: #1e1e1e;
}

.dark-mode .search-result-card {
    background-color: #1e1e1e;
    border-color: #333;
    color: #e0e0e0;
}

.dark-mode .search-result-card h3 {
    color: #e0e0e0;
}

.dark-mode .search-result-card p {
    color: #b0b0b0;
}

.dark-mode .search-form input,
.dark-mode .search-form select {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border-color: #444;
}

.dark-mode .pagination a,
.dark-mode .pagination span {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border-color: #444;
}

.dark-mode .pagination a:hover {
    background-color: #3c3c3c;
}

.dark-mode .pagination .current {
    background-color: #3498db;
    color: white;
}

.dark-mode .no-results {
    background-color: #1e1e1e;
}

/* Footer Styles */
.site-footer {
    background: #0b1220;
    color: #e6eef8;
    padding: 32px 16px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-col h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col a {
    color: #cfe6ff;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-search input[type="search"],
.fsearch input[type="search"] {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #29435a;
    background: #071021;
    color: #e6eef8;
    margin-bottom: 8px;
}

.footer-search button,
.fsearch button {
    padding: 8px 12px;
    background: #1e90ff;
    border: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 12px;
    font-size: 13px;
    color: #9fb9d9;
}

/* Accessibility helper */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Accessibility enhancements */
@media (prefers-reduced-motion: reduce) {
    .search-result-card {
        transition: none;
    }
}

/* Responsive Design - Tablet (768px and below) */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    nav {
        order: -1;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .container {
        padding: 0 10px;
    }
	
	.informatie {
		width: 70%;
		padding: 2rem;
	}

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 10px;
        padding: 1rem;
    }

    .product-card-image {
        height: 200px;
    }

    .product-card-content {
        padding: 0.75rem;
    }

    .product-card-content h2 {
        font-size: 1rem;
    }

    .add-to-cart-btn,
    .btn {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .dropdown-content {
        right: 0;
        left: auto;
        min-width: 160px;
        max-width: 90vw;
    }

    .dropdown-content a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .user-menu-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .search-container {
        padding: 10px;
        max-width: 100%;
    }

    .search-results {
        grid-template-columns: 1fr;
    }

    .pagination {
        font-size: 14px;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
    }
}

/* Ultra Small Devices (480px and below) */
@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .informatie {
	width: 100%;
	padding: 2rem;
	}
	
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .product-card-image {
        height: 150px;
    }

    .menu {
        gap: 8px;
    }

    .menu > li > a {
        font-size: 0.9rem;
    }

    .header-menu {
        gap: 10px;
    }

    .dropdown-content {
        min-width: 120px;
    }

    .dropdown-content a {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .search-container {
        padding: 10px;
    }

    .search-summary h2 {
        font-size: 18px;
    }

    .search-result-card h3 {
        font-size: 16px;
    }

    .result-price {
        font-size: 18px;
    }
}

/* Print styles */
@media print {
    .search-form, 
    .pagination, 
    header {
        display: none;
    }

    .search-results {
        display: block;
    }

    .search-result-card {
        page-break-inside: avoid;
        margin-bottom: 20px;
        border: 1px solid #000;
    }
}


/* Cart Page Mobile-Friendly Styles */
main h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
    padding: 0 15px;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-empty h2 {
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 1.5rem;
}

.cart-empty p {
    color: #666;
    margin-bottom: 20px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.cart-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.cart-item-info {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item-name {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: var(--text-color);
}

.cart-item-price {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin: 0;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quantity-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quantity-section label {
    font-weight: 500;
    color: var(--text-color);
}

.quantity-update {
    width: 100%;
}

.quantity-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.quantity-input-mobile {
    width: 70px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
}

.btn-small {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-small:hover {
    background-color: #2980b9;
}

.cart-item-subtotal {
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 1rem;
    text-align: right;
    color: var(--text-color);
}

.cart-item-actions {
    display: flex;
    gap: 8px;
}

.btn-remove {
    flex: 1;
    padding: 8px;
    background-color: #e74c3c;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-remove:hover {
    background-color: #c0392b;
}

.cart-summary {
    margin-top: 30px;
}

.cart-total-section {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-total-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.3rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
}

.total-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.cart-total-section .btn {
    margin-bottom: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #95a5a6;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

/* Mobile Responsive Cart */
@media (max-width: 768px) {
    main h1 {
        font-size: 1.5rem;
        padding: 0 10px;
    }
    
    .cart-items {
        gap: 10px;
    }
    
    .cart-item {
        padding: 12px;
    }
    
    .cart-item-info {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    
    .cart-item-name {
        font-size: 1rem;
    }
    
    .quantity-input-mobile {
        width: 60px;
        padding: 6px;
        font-size: 0.9rem;
    }
    
    .btn-small {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .cart-item-subtotal {
        padding: 8px;
        font-size: 0.95rem;
    }
    
    .btn-remove {
        padding: 6px;
        font-size: 0.85rem;
    }
    
    .cart-total-section {
        padding: 15px;
    }
    
    .cart-total-section h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .total-line {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .total-label {
        font-size: 1rem;
    }
    
    .total-amount {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    main h1 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .cart-empty {
        padding: 30px 15px;
    }
    
    .cart-empty h2 {
        font-size: 1.3rem;
    }
    
    .cart-items {
        gap: 8px;
    }
    
    .cart-item {
        padding: 10px;
    }
    
    .cart-item-name {
        font-size: 0.95rem;
    }
    
    .cart-item-price {
        font-size: 0.9rem;
    }
    
    .quantity-controls {
        gap: 4px;
    }
    
    .quantity-input-mobile {
        width: 50px;
        padding: 5px;
        font-size: 0.85rem;
    }
    
    .btn-small {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .cart-item-subtotal {
        padding: 6px;
        font-size: 0.9rem;
    }
    
    .btn-remove {
        padding: 5px;
        font-size: 0.8rem;
    }
    
    .cart-total-section {
        padding: 12px;
    }
    
    .cart-total-section h2 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .total-line {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .total-label {
        font-size: 0.95rem;
    }
    
    .total-amount {
        font-size: 1.2rem;
    }
}

/* Add these checkout styles to your existing style.css file */

/* Checkout Container */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Order Summary */
.checkout-summary {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 1rem;
}

.checkout-summary h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.summary-table-container {
    overflow-x: auto;
    margin: 1rem 0;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.summary-table th,
.summary-table td {
    padding: 0.75rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.summary-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #555;
}

.summary-table td {
    color: #666;
}

.summary-total {
    text-align: right;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #007bff;
}

.summary-total h3 {
    margin: 0;
    color: #007bff;
    font-size: 1.4rem;
}

/* Checkout Form */
.checkout-form-container {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.checkout-form-container h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.checkout-form .form-group {
    margin-bottom: 1.2rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #555;
}

.checkout-form .form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.checkout-form .form-input:focus {
    outline: none;
    border-color: #007bff;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    font-weight: normal !important;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
    width: auto;
}

/* Payment Methods */
.payment-method-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.payment-method-label {
    display: flex !important;
    align-items: center;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal !important;
}







.payment-method-label:hover {
    border-color: #007bff;
}

.payment-method-label input[type="radio"] {
    margin-right: 0.5rem;
    width: auto;
}

.payment-details {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-top: 1rem;
    display: none;
}

.payment-info {
    font-style: italic;
    color: #666;
    margin-top: 0.5rem;
}

/* Checkout Button */
.checkout-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .checkout-summary {
        position: static;
    }
}

/* Cart Row Single Line Styles */
.cart-rows-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.cart-row {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #ddd;
}

.cart-row-product {
    flex: 1;
    min-width: 150px;
    color: var(--text-color);
    font-weight: 500;
}

.cart-row-price {
    width: 80px;
    text-align: center;
    color: var(--secondary-color);
    font-weight: bold;
}

.cart-row-quantity {
    display: flex;
    gap: 5px;
    align-items: center;
}

.quantity-input-row {
    width: 60px;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
}

.btn-update-row {
    padding: 6px 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-update-row:hover {
    background-color: #2980b9;
}

.cart-row-subtotal {
    width: 100px;
    text-align: right;
    font-weight: bold;
    color: var(--text-color);
}

.cart-row-remove {
    width: 80px;
}

.cart-row-remove a {
    display: block;
    padding: 8px;
    background-color: #e74c3c;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.cart-row-remove a:hover {
    background-color: #c0392b;
}

/* Mobile Responsive - Single Line Cart */
@media (max-width: 1024px) {
    .cart-row {
        gap: 10px;
        padding: 12px;
    }

    .cart-row-product {
        min-width: 120px;
        font-size: 0.95rem;
    }

    .cart-row-price {
        width: 70px;
        font-size: 0.9rem;
    }

    .quantity-input-row {
        width: 50px;
        padding: 5px;
        font-size: 0.85rem;
    }

    .btn-update-row {
        padding: 5px 10px;
        font-size: 0.85rem;
    }

    .cart-row-subtotal {
        width: 90px;
        font-size: 0.9rem;
    }

    .cart-row-remove {
        width: 70px;
    }

    .cart-row-remove a {
        padding: 6px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .cart-row {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px;
    }

    .cart-row-product {
        width: 100%;
        min-width: unset;



        margin-bottom: 8px;
    }

    .cart-row-price {
        width: 50%;
        text-align: left;
    }

    .cart-row-quantity {
        width: 50%;
        justify-content: flex-end;
    }

    .quantity-input-row {
        width: 45px;
        padding: 4px;
        font-size: 0.8rem;
    }

    .btn-update-row {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .cart-row-subtotal {
        width: 50%;
        font-size: 0.85rem;
        margin-top: 8px;
    }

    .cart-row-remove {
        width: 50%;
        margin-top: 8px;
    }

    .cart-row-remove a {
        padding: 6px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .cart-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px;
    }

    .cart-row-product {
        width: 100%;
        font-size: 0.9rem;
    }

    .cart-row-price {
        width: 100%;
        text-align: left;
        font-size: 0.85rem;
    }

    .cart-row-quantity {
        width: 100%;
        flex-direction: row;
    }

    .quantity-input-row {
        width: 50px;
        padding: 5px;
        font-size: 0.8rem;
    }

    .btn-update-row {
        flex: 1;
        padding: 5px;
        font-size: 0.75rem;
    }

    .cart-row-subtotal {
        width: 100%;
        text-align: left;
        font-size: 0.85rem;
        margin-top: 0;
        padding-top: 8px;
        border-top: 1px solid #eee;
    }

    .cart-row-remove {
        width: 100%;
        margin-top: 0;
    }

    .cart-row-remove a {
        width: 100%;
        padding: 8px;
        font-size: 0.8rem;
    }
}

/* ===== CHECKOUT PAGE STYLES ===== */

/* Checkout Wrapper - Two Column Layout */
.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* Order Summary - Left Column */
.checkout-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.checkout-summary h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.order-items {
    margin-bottom: 25px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.order-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
}

.item-details {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.item-price {
    font-weight: 700;
    color: #27ae60;
    font-size: 1.1rem;
    min-width: 100px;
    text-align: right;
}

.order-total {
    background: #fff;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
    border: 2px solid #3498db;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.total-line:last-child {
    margin-bottom: 0;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

/* Checkout Form Section - Right Column */
.checkout-form-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.checkout-form-section h2 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 1.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

/* Form Styles */
.checkout-form {
    display: flex;
    flex-direction: column;
}

.form-section {
    margin-bottom: 25px;
}

.form-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    font-weight: normal !important;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #3498db;
    background-color: #f0f7ff;
}

.payment-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
}

.payment-text {
    font-weight: 500;
    color: #333;
}

/* Payment Details */
.payment-details {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-top: 15px;
    background-color: #f8f9fa;
    display: block;
}

.payment-details.hidden {
    display: none;
}

.payment-info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.payment-info-block {
    padding: 12px;
    background-color: #fff;
    border-radius: 4px;
    border-left: 4px solid #3498db;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Submit Button */
.checkout-submit-btn {
    width: 100%;
    padding: 14px 20px;
    margin-top: 25px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.checkout-submit-btn:hover {
    background-color: #229954;
    transform: translateY(-2px);
}

.checkout-submit-btn:active {
    transform: translateY(0);
}

.checkout-submit-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive - Tablet */
@media (max-width: 1024px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .checkout-summary {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-summary h2,
    .checkout-form-section h2 {
        font-size: 1.3rem;
    }
}

/* Mobile Responsive - Small Tablets (768px) */
@media (max-width: 768px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }

    .checkout-summary {
        position: static;
        padding: 20px;
        margin-bottom: 20px;
    }

    .checkout-summary h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .order-items {
        margin-bottom: 20px;
    }

    .order-item {
        padding: 12px 0;
    }

    .item-name {
        font-size: 0.95rem;
    }

    .item-details {
        font-size: 0.85rem;
    }

    .item-price {
        font-size: 1rem;
        min-width: 80px;
    }

    .order-total {
        padding: 12px;
        margin-top: 15px;
    }

    .total-line {
        margin-bottom: 8px;
    }

    .total-amount {
        font-size: 1.3rem;
    }

    .checkout-form-section {
        padding: 20px;
    }

    .checkout-form-section h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .form-section {
        margin-bottom: 20px;
    }

    .form-section h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .form-input,
    .form-select {
        padding: 10px;
        font-size: 0.95rem;
    }

    .payment-option {
        padding: 10px;
    }

    .payment-option input[type="radio"] {
        width: 16px;
        height: 16px;
    }

    .payment-text {
        font-size: 0.95rem;
    }

    .payment-details {
        padding: 12px;
        margin-top: 12px;
    }

    .payment-info {
        font-size: 0.85rem;
        margin-top: 8px;
    }

    .payment-info-block {
        padding: 10px;
        font-size: 0.9rem;
    }

    .checkout-submit-btn {
        padding: 12px 16px;
        margin-top: 20px;
        font-size: 1rem;
    }
}

/* Mobile Responsive - Small Phones (480px) */
@media (max-width: 480px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 15px;
    }

    .checkout-summary {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 6px;
    }

    .checkout-summary h2 {
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .order-items {
        margin-bottom: 15px;
    }

    .order-item {
        padding: 10px 0;
        align-items: center;
    }

    .item-info {
        flex: 1;
    }

    .item-name {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .item-details {
        font-size: 0.8rem;
    }

    .item-price {
        font-size: 0.95rem;
        min-width: 70px;
    }

    .order-total {
        padding: 10px;
        margin-top: 12px;
    }

    .total-line {
        margin-bottom: 6px;
        font-size: 0.95rem;
    }

    .total-amount {
        font-size: 1.2rem;
    }

    .checkout-form-section {
        padding: 15px;
        border-radius: 6px;
    }

    .checkout-form-section h2 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }

    .form-section {
        margin-bottom: 15px;
    }

    .form-section h3 {
        font-size: 0.95rem;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .form-label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

    .form-input,
    .form-select {
        padding: 10px;
        font-size: 0.9rem;
        border-radius: 4px;
    }

    .checkbox-label {
        font-size: 0.9rem;
    }

    .checkbox-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }

    .payment-methods {
        gap: 8px;
        margin-top: 8px;
    }

    .payment-option {
        padding: 10px;
        border-radius: 4px;
    }

    .payment-option input[type="radio"] {
        width: 16px;
        height: 16px;
        margin-right: 10px;
    }

    .payment-text {
        font-size: 0.9rem;
    }

    .payment-details {
        padding: 10px;
        margin-top: 10px;
        border-radius: 4px;
    }

    .payment-info {
        font-size: 0.8rem;
        margin-top: 6px;
    }

    .payment-info-block {
        padding: 8px;
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .checkout-submit-btn {
        padding: 12px;
        margin-top: 15px;
        font-size: 0.95rem;
        border-radius: 4px;
    }
}

/* Extra Small Phones (under 360px) */
@media (max-width: 360px) {
    .checkout-wrapper {
        gap: 8px;
        margin-top: 10px;
    }

    .checkout-summary {
        padding: 12px;
        margin-bottom: 12px;
    }

    .checkout-summary h2 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .order-item {
        padding: 8px 0;
    }

    .item-name {
        font-size: 0.85rem;
    }

    




    .item-details {
        font-size: 0.75rem;
    }

    .item-price {
        font-size: 0.9rem;
        min-width: 60px;
    }

    .order-total {
        padding: 8px;
        margin-top: 10px;
    }

    .total-line {
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

    .total-amount {
        font-size: 1.1rem;
    }

    .checkout-form-section {
        padding: 12px;
    }

    .checkout-form-section h2 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .form-section {
        margin-bottom: 12px;
    }

    .form-section h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .form-group {
        margin-bottom: 8px;
    }

    .form-label {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }

    .form-input,
    .form-select {
        padding: 8px;
        font-size: 0.85rem;
    }

    .payment-option {
        padding: 8px;
    }

    .payment-option input[type="radio"] {
        width: 14px;
        height: 14px;
        margin-right: 8px;
    }

    .payment-text {
        font-size: 0.85rem;
    }

    .payment-details {
        padding: 8px;
        margin-top: 8px;
    }

    .payment-info {
        font-size: 0.75rem;
    }

    .payment-info-block {
        padding: 6px;
        font-size: 0.8rem;
    }

    .checkout-submit-btn {
        padding: 10px;
        margin-top: 12px;
        font-size: 0.9rem;
    }
}

/* Landscape Mode - Small Screens */
@media (max-height: 600px) and (orientation: landscape) {
    .checkout-wrapper {
        gap: 15px;
    }

    .checkout-summary {
        position: static;
        padding: 15px;
    }

    .checkout-summary h2 {
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

    .order-item {
        padding: 8px 0;
    }

    .order-total {
        padding: 10px;
        margin-top: 10px;
    }

    .checkout-form-section {
        padding: 15px;
    }

    .checkout-form-section h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .form-section {
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .form-input,
    .form-select {
        padding: 8px;
    }

    .checkout-submit-btn {
        padding: 10px;
        margin-top: 15px;
    }
}

/* Print Styles */
@media print {
    .checkout-wrapper {
        grid-template-columns: 1fr;
        page-break-inside: avoid;
    }

    .checkout-summary {
        page-break-inside: avoid;
        position: static;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .checkout-form-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .checkout-submit-btn {
        display: none;
    }



    .form-input,
    .form-select {
        border: 1px solid #ccc;
    }

    .payment-option {
        border: 1px solid #ccc;
    }

    .payment-details {
        border: 1px solid #ccc;
    }

    @page {
        size: auto;
        margin: 10mm;
    }
}

/* Contact Page Styles - Responsive */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* Tablet en groter */
@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.contact-info h2,
.contact-form-wrapper h2 {
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
    font-size: 20px;
}

.contact-details {
    margin-top: 20px;
}

.contact-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.contact-item h3 {
    color: #007cba;
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
}

.contact-item a {
    color: #007cba;
    text-decoration: none;
    word-break: break-word;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Tablet en groter */
@media (min-width: 768px) {
    .contact-form {
        padding: 25px;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

/* Tablet en groter */
@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

/* Prevent zoom on iOS */
@media screen and (max-width: 767px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
    }
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007cba;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Tablet en groter */
@media (min-width: 768px) {
    .form-group textarea {
        min-height: 120px;
    }
}

.submit-btn {
    background-color: #007cba;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    font-weight: bold;
}

.submit-btn:hover {
    background-color: #005a87;
}

.submit-btn:active {
    transform: translateY(1px);
}

/* Desktop */
@media (min-width: 1024px) {
    .submit-btn {
        width: auto;
        padding: 15px 40px;
    }
}

/* Success and Error Messages */
.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .informatie {
        padding: 15px;
    }
    
    .contact-container {
        gap: 20px;
        margin-top: 20px;
    }
    
    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .contact-item {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .contact-item h3 {
        font-size: 15px;
    }
    
    .contact-item p {
        font-size: 13px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .contact-form {
        padding: 12px;
    }
}

/* Accessibility improvements */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.submit-btn:focus {
    outline: 3px solid rgba(0, 124, 186, 0.3);
    outline-offset: 2px;
}

/* Loading state for submit button */
.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* Print styles */
@media print {
    .contact-form,
    .submit-btn,
    header,
    footer {
        display: none;
    }
    
    .contact-info {
        display: block;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        border-width: 3px;
    }
    
    .submit-btn {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .form-group input,
    .form-group textarea,
    .form-group select,
    .submit-btn {
        transition: none;
    }
    
    .submit-btn:active {
        transform: none;
    }
    
    @keyframes button-loading-spinner {
        from {
            transform: rotate(0turn);
        }
        to {
            transform: rotate(0turn);
        }
    }
}

/* Dark mode support (if you want to add it later) */
@media (prefers-color-scheme: dark) {
    .contact-item {
        background-color: #2a2a2a;
        color: #fff;
    }
    
    .contact-form {
        background-color: #1a1a1a;
        color: #fff;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        background-color: #333;
        color: #fff;
        border-color: #555;
    }
    
    .form-group label {
        color: #fff;
    }
}


/* Admin Dashboard Styles - Responsive */

/* ========== Admin Stats ========== */
.admin-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

@media (min-width: 480px) {
    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (min-width: 768px) {
    .admin-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin: 30px 0;
    }
}

@media (min-width: 1024px) {
    .admin-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

.stat-card {
    background-color: #f9f9f9;
    border-left: 4px solid #007cba;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

@media (max-width: 767px) {
    .stat-card {
        padding: 15px;
    }
}

.stat-card h3 {
    color: #333;
    margin: 0 0 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .stat-card h3 {
        font-size: 15px;
    }
}

.stat-number {
    color: #007cba;
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

@media (max-width: 767px) {
    .stat-number {
        font-size: 24px;
    }
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 36px;
    }
}

/* ========== Admin Controls ========== */
.admin-controls {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .admin-controls {
        padding: 20px;
        margin: 30px 0;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 20px;
        align-items: center;
    }
}

.filter-form,
.search-form-admin {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .filter-form,
    .search-form-admin {
        margin-bottom: 0;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 768px) {
    .filter-group {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
}

.filter-group label {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.filter-group select {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #007cba;
}

.search-form-admin {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 768px) {
    .search-form-admin {
        grid-template-columns: 1fr auto;
        gap: 10px;
    }
}

.search-form-admin input {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.search-form-admin input:focus {
    outline: none;
    border-color: #007cba;
}

.search-form-admin button {
    padding: 10px 20px;
    background-color: #007cba;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.search-form-admin button:hover {
    background-color: #005a87;
}

/* ========== Messages Table ========== */
.messages-table-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow-x: auto;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .messages-table-wrapper {
        margin-top: 30px;
    }
}

.no-messages {
    padding: 30px;
    text-align: center;
    color: #666;
    font-size: 16px;
}

.messages-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

@media (min-width: 768px) {
    .messages-table {
        font-size: 14px;
    }
}

.messages-table thead {
    background-color: #f0f0f0;
    border-bottom: 2px solid #ddd;
}

.messages-table th {
    padding: 12px;
    text-align: left;
    font-weight: bold;
    color: #333;
}

@media (max-width: 767px) {
    .messages-table th {
        padding: 10px;
        font-size: 12px;
    }
}

.messages-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

@media (max-width: 767px) {
    .messages-table td {
        padding: 10px;
        font-size: 12px;
    }
}

.messages-table tbody tr {
    transition: background-color 0.3s ease;
}

.messages-table tbody tr:hover {
    background-color: #f9f9f9;
}

.messages-table tbody tr.status-new {
    background-color: #fffbf0;
    font-weight: bold;
}

.messages-table tbody tr.status-read {
    background-color: #fff;
}

.messages-table tbody tr.status-replied {
    background-color: #f0f8ff;
}

.date-col {
    white-space: nowrap;
}

.name-col,
.email-col {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .name-col,
    .email-col {
        max-width: 100px;
    }
}

.subject-col {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .subject-col {
        max-width: 120px;
    }
}

/* ========== Status Badge ========== */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .status-badge {
        padding: 4px 8px;
        font-size: 11px;
    }
}

.status-badge.status-new {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-badge.status-read {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-badge.status-replied {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* ========== Action Buttons ========== */
.actions-col {
    white-space: nowrap;
}

.btn-view,
.btn-mark,
.btn-delete,
.btn-email,
.btn-back,
.btn-cancel {
    display: inline-block;
    padding: 6px 12px;
    margin: 2px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
}

@media (max-width: 767px) {
    .btn-view,
    .btn-mark,
    .btn-delete,
    .btn-email,
    .btn-back,
    .btn-cancel {
        padding: 5px 8px;
        font-size: 11px;
        margin: 1px;
    }
}

.btn-view {
    background-color: #007cba;
    color: white;
}

.btn-view:hover {
    background-color: #005a87;
}

.btn-mark {
    background-color: #28a745;
    color: white;
}

.btn-mark:hover {
    background-color: #218838;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
}

.btn-delete:hover {
    background-color: #c82333;
}

.btn-email {
    background-color: #17a2b8;
    color: white;
}

.btn-email:hover {
    background-color: #138496;
}

.btn-back {
    background-color: #6c757d;
    color: white;
}

.btn-back:hover {
    background-color: #5a6268;
}

.btn-cancel {
    background-color: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background-color: #5a6268;
}

/* ========== Message Detail Page ========== */
.detail-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .detail-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
    }
}

.detail-header h1 {
    margin: 0;
    font-size: 24px;
}

@media (max-width: 767px) {
    .detail-header h1 {
        font-size: 20px;
    }
}

.message-detail {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px;
}

@media (min-width: 768px) {
    .message-detail {
        padding: 25px;
    }
}

@media (min-width: 1024px) {
    .message-detail {
        padding: 30px;
    }
}

.message-info {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .message-info {
        padding: 20px;
        margin-bottom: 30px;
    }
}

.info-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

@media (min-width: 768px) {
    .info-row {
        grid-template-columns: 200px 1fr;
        gap: 20px;
        padding: 12px 0;
    }
}

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

.info-row label {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.info-row p {
    margin: 0;
    color: #666;
    font-size: 14px;
    word-wrap: break-word;
}

.info-row a {
    color: #007cba;
    text-decoration: none;
    word-break: break-all;
}

.info-row a:hover {
    text-decoration: underline;
}

.message-content {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .message-content {
        margin-bottom: 30px;
    }
}

.message-content h2,
.admin-notes h2,
.reply-form-wrapper h2,
.message-actions h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

@media (min-width: 768px) {
    .message-content h2,
    .admin-notes h2,
    .reply-form-wrapper h2,
    .message-actions h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

.message-text {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    line-height: 1.6;
    color: #333;
    font-size: 14px;
}

@media (min-width: 768px) {
    .message-text {
        padding: 20px;
        font-size: 15px;
    }
}

.admin-notes {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .admin-notes {
        margin-bottom: 30px;
    }
}

.notes-text {
    background-color: #fff8dc;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #ffc107;
    line-height: 1.6;
    color: #333;
    font-size: 14px;
}

@media (min-width: 768px) {
    .notes-text {
        padding: 20px;
        font-size: 15px;
    }
}

.reply-form-wrapper {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .reply-form-wrapper {
        margin-bottom: 30px;
    }
}

.reply-form {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

@media (min-width: 768px) {
    .reply-form {
        padding: 20px;
    }
}

.reply-form .form-group {
    margin-bottom: 15px;
}

.reply-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.reply-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .reply-form .form-group textarea {
        font-size: 15px;
    }
}

.reply-form .form-group textarea:focus {
    outline: none;
    border-color: #007cba;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .form-actions {
        flex-direction: row;
        gap: 15px;
    }
}

.btn-submit {
    background-color: #007cba;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

@media (max-width: 767px) {
    .btn-submit {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
    }
}

.btn-submit:hover {
    background-color: #005a87;
}

.btn-submit:active {
    transform: translateY(1px);
}

.message-actions {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

@media (min-width: 768px) {
    .message-actions {
        padding: 20px;
    }
}

.actions-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .actions-buttons {
        flex-direction: row;
        gap: 15px;
    }
}

/* ========== Mobile Table Responsiveness ========== */
@media (max-width: 767px) {
    .messages-table thead {
        display: none;
    }
    
    .messages-table,
    .messages-table tbody,
    .messages-table tr,
    .messages-table td {
        display: block;
        width: 100%;
    }
    
    .messages-table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        overflow: hidden;
    }
    
    .messages-table td {
        position: relative;
        padding-left: 50%;
        text-align: right;
        border-bottom: 1px solid #eee;
    }
    
    .messages-table td:last-child {
        border-bottom: none;
    }
    
      .messages-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        text-align: left;
    }
    
    .messages-table .date-col:before {
        content: "Datum:";
    }
    
    .messages-table .name-col:before {
        content: "Naam:";
    }
    
    .messages-table .email-col:before {
        content: "Email:";
    }
    
    .messages-table .subject-col:before {
        content: "Onderwerp:";
    }
    
    .messages-table .status-col:before {
        content: "Status:";
    }
    
    .messages-table .actions-col:before {
        content: "Acties:";
    }
    
    .messages-table .actions-col {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding-left: 10px;
        padding-right: 10px;
        text-align: center;
    }
    
    .messages-table .actions-col a {
        width: 100%;
        text-align: center;
    }
}

/* ========== Tablet Specific Adjustments ========== */
@media (min-width: 768px) and (max-width: 1023px) {
    .messages-table {
        font-size: 13px;
    }
    
    .messages-table th,
    .messages-table td {
        padding: 10px 8px;
    }
    
    .name-col,
    .email-col {
        max-width: 120px;
    }
    
    .subject-col {
        max-width: 150px;
    }
    
    .btn-view,
    .btn-mark,
    .btn-delete {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* ========== Print Styles ========== */
@media print {
    .admin-controls,
    .btn-view,
    .btn-mark,
    .btn-delete,
    .btn-email,
    .btn-back,
    .btn-submit,
    .btn-cancel,
    .reply-form-wrapper,
    .message-actions,
    header,
    footer {
        display: none !important;
    }
    
    .message-detail,
    .messages-table-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .messages-table {
        font-size: 11px;
    }
    
    .messages-table th,
    .messages-table td {
        padding: 5px;
    }
}

/* ========== Accessibility ========== */
@media (prefers-reduced-motion: reduce) {
    .messages-table tbody tr,
    .form-group input,
    .form-group textarea,
    .form-group select,
    .btn-view,
    .btn-mark,
    .btn-delete,
    .btn-email,
    .btn-submit,
    .search-form-admin button {
        transition: none;
    }
    
    .btn-submit:active {
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .messages-table,
    .message-detail,
    .admin-controls {
        border: 2px solid #000;
    }
    
    .status-badge {
        border-width: 2px;
    }
}

/* ========== Dark Mode Support ========== */
@media (prefers-color-scheme: dark) {
    .stat-card,
    .message-info,
    .message-text,
    .message-actions {
        background-color: #2a2a2a;
        color: #fff;
    }

@media (prefers-color-scheme: dark) {
    .stat-card,
    .message-info,
    .message-text,
    .message-actions {
        background-color: #2a2a2a;
        color: #fff;
    }
    
    .stat-card h3,
    .message-content h2,
    .admin-notes h2,
    .reply-form-wrapper h2,
    .message-actions h2,
    .info-row label {
        color: #fff;
    }
    
    .info-row p {
        color: #ccc;
    }
    
    .admin-controls,
    .messages-table-wrapper,
    .message-detail,
    .reply-form {
        background-color: #1a1a1a;
        color: #fff;
    }
    
    .messages-table thead {
        background-color: #333;
    }
    
    .messages-table tbody tr:hover {
        background-color: #2a2a2a;
    }
    
    .messages-table td {
        border-bottom-color: #444;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        background-color: #333;
        color: #fff;
        border-color: #555;
    }
    
    .notes-text {
        background-color: #3a3a2a;
        color: #fff;
    }
}

    
    





 









   
