/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900&family=Noto+Serif:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900&display=swap');

/* Basis Reset & Vibe */
body {
    margin: 0;
    font-family: 'Noto Sans', sans-serif;
    background-color: #ffffff; /* Wit */
    color: #141414; /* Bijna zwart voor tekst */
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.font-serif {
    font-family: 'Noto Serif', serif;
}

.font-sans {
    font-family: 'Noto Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif', serif;
    color: #000000; /* Zwart voor headers */
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

a {
    color: #333333; /* Donkergrijs voor links */
    text-decoration: none;
}

a:hover {
    color: #a07c52; /* Champagne goud accent voor hover */
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigatie */
.site-header {
    background-color: #ffffff;
    padding: 1em 0;
    border-bottom: 1px solid #f2f2f2; /* Zachte grijze rand */
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo a {
    font-family: 'Noto Serif', serif;
    font-size: 1.8em;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-navigation li {
    margin-left: 20px;
}

.main-navigation a {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 500;
    color: #141414;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #a07c52; /* Champagne goud accent */
    border-bottom: 2px solid #a07c52;
}

/* Hoofdinhoud */
.site-content {
    flex-grow: 1;
    padding: 2em 0;
}

/* Footer */
.site-footer {
    background-color: #141414; /* Donkere achtergrond voor footer */
    color: #f2f2f2; /* Lichte tekstkleur */
    padding: 2em 0;
    text-align: center;
    font-size: 0.9em;
}

.site-footer a {
    color: #a07c52; /* Champagne goud voor links in footer */
}

/* Knoppen */
.btn {
    display: inline-block;
    background-color: #141414; /* Zwart */
    color: #ffffff; /* Wit */
    padding: 10px 20px;
    border: 2px solid #141414;
    text-decoration: none;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: #a07c52; /* Champagne goud */
    border-color: #a07c52;
    color: #ffffff;
    text-decoration: none;
}

.btn-accent {
    background-color: #a07c52;
    border-color: #a07c52;
    color: #ffffff;
}

.btn-accent:hover {
    background-color: #8c6c48; /* Donkerder champagne goud */
    border-color: #8c6c48;
}

/* Formulieren (Basis) */
.form-group {
    margin-bottom: 1.5em;
}

.form-group label {
    display: block;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 500;
    margin-bottom: 0.5em;
    color: #333333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc; /* Zacht grijs */
    border-radius: 4px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1em;
    box-sizing: border-box; /* Voorkomt dat padding de breedte beïnvloedt */
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
    border-color: #a07c52; /* Champagne goud accent op focus */
    outline: none;
    box-shadow: 0 0 0 2px rgba(160, 124, 82, 0.2);
}

/* Specifieke secties voor index.php */
.hero-section {
    text-align: center;
    padding: 4em 0;
    background-color: #f9f9f9; /* Zeer lichtgrijs, bijna wit */
    border-bottom: 1px solid #f2f2f2;
}
.hero-section h1 {
    font-size: 2.8em;
    margin-bottom: 0.3em;
    color: #000000;
}
.hero-section p {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 1.5em;
}

.features-overview {
    padding: 3em 0;
    text-align: center;
}
.features-overview h2 {
    font-size: 2.2em;
    margin-bottom: 1.5em;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}
.feature-item {
    background-color: #ffffff;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.feature-item h3 {
    font-size: 1.5em;
    color: #141414;
    margin-top: 0;
    margin-bottom: 0.5em;
}

/* Auth Pagina's (Login/Register) */
.auth-container {
    max-width: 450px;
    margin-top: 3em;
    margin-bottom: 3em;
    padding: 2em;
    background-color: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.auth-container h1 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 2em;
}

.auth-form .form-group {
    margin-bottom: 1.2em;
}

.auth-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    margin-top: 0.5em;
}

.form-switch {
    text-align: center;
    margin-top: 1.5em;
    font-size: 0.9em;
}

.form-switch a {
    color: #a07c52;
    font-weight: 500;
}

/* Client Management Specific Styles */
.client-list {
    list-style-type: none;
    padding: 0;
}

.client-list li {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.client-list li:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.client-list li h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-family: 'Noto Serif', serif;
    font-size: 1.4em;
    color: #333;
}

.client-list li p {
    margin-bottom: 3px;
    font-size: 0.95em;
    color: #555;
}

.client-list li p.email {
    font-weight: 500;
}

.client-list li p.phone {
    color: #777;
}

.client-list li small {
    font-size: 0.8em;
    color: #888;
    display: block;
    margin-top: 8px;
}

.client-list li .actions {
    display: flex;
    gap: 10px;
}

.client-list li .actions .btn-sm {
    padding: 6px 12px;
    font-size: 0.85em;
}

.client-list li .actions a.btn-danger {
    color: #dc3545; /* A common red for danger/delete actions */
    border-color: #dc3545;
}

.client-list li .actions a.btn-danger:hover {
    background-color: #dc3545;
    color: #fff;
}

/* Order List Styles */
.order-list li {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the start for better text flow */
    transition: box-shadow 0.3s ease;
}

.order-list li:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.order-list li h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-family: 'Noto Serif', serif;
    font-size: 1.3em; /* Slightly smaller than client list */
    color: #333;
}

.order-list li p {
    margin-bottom: 4px;
    font-size: 0.95em;
    color: #555;
}

.order-list li .status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
    color: #fff;
}

.order-list li .status-pending {
    background-color: #ffc107; /* Amber */
    color: #333;
}
.order-list li .status-processing {
    background-color: #17a2b8; /* Info Blue */
}
.order-list li .status-shipped {
    background-color: #28a745; /* Green */
}
.order-list li .status-delivered {
    background-color: #28a745; /* Green */
}
.order-list li .status-cancelled {
    background-color: #dc3545; /* Red */
}
.order-list li .status-completed {
    background-color: #007bff; /* Primary Blue */
}

/* Public Gallery List Styles */
.public-gallery-list {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.public-gallery-list li {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.public-gallery-list li:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for thumbnails */
    overflow: hidden;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area, might crop */
    transition: transform 0.3s ease;
}

.gallery-link:hover .gallery-thumbnail img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 15px;
}

.gallery-info h3 {
    font-family: 'Noto Serif', serif;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #222;
}

.gallery-info p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.gallery-info .photo-count {
    font-size: 0.85em;
    color: #777;
    margin-top: 0.5rem;
}

/* Message styling */
.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border: 1px solid transparent;
}
.success-message {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}
.info-message {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* Ensure Font Awesome icons are styled correctly if not already */
.fa-heart {
    /* Specific styles for heart icons if needed, e.g., vertical alignment */
}

/* Photo Upload Page Styling */
.dashboard-container {
    padding-top: 2em;
    padding-bottom: 3em; /* More bottom padding */
    max-width: 900px; /* Constrain width for better readability on large screens */
    margin-left: auto;
    margin-right: auto;
}

.dashboard-container h1 {
    color: var(--primary-black);
    margin-bottom: 0.5em;
    font-size: 2.2em; /* Slightly larger */
}
.dashboard-container h2 {
    color: var(--primary-black);
    margin-top: 2em;
    margin-bottom: 1em;
    font-family: var(--serif-font);
    font-size: 1.8em; /* Slightly larger */
    border-bottom: 1px solid var(--soft-gray);
    padding-bottom: 0.3em;
}


.dashboard-container .btn-ghost {
    color: var(--dark-gray);
    border-color: var(--soft-gray);
    padding: 0.5em 1em;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1.5em;
    border-radius: var(--border-radius);
}

.dashboard-container .btn-ghost:hover {
    background-color: var(--soft-gray);
    color: var(--primary-black);
}

.styled-form {
    background-color: var(--primary-white);
    padding: 2em;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-soft);
    margin-bottom: 2em;
}

.styled-form .form-group {
    margin-bottom: 1.5em;
}

.styled-form label {
    display: block;
    margin-bottom: 0.5em;
    color: var(--medium-gray); /* Softer color for labels */
    font-weight: 500; /* Noto Sans regular is 400, medium is 500 */
}

.styled-form input[type="file"] {
    border: 1px solid var(--soft-gray);
    padding: 0.75em;
    border-radius: var(--border-radius);
    width: 100%;
    box-sizing: border-box;
    background-color: var(--light-gray-bg); /* Lighter background for input */
    font-family: var(--primary-font);
}

.styled-form input[type="file"]::file-selector-button {
    background-color: var(--primary-accent);
    color: var(--primary-black); /* Fixed contrast */
    border: none;
    padding: 0.6em 1em; /* Adjusted padding */
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    font-family: var(--primary-font);
    font-weight: 500;
}

.styled-form input[type="file"]::file-selector-button:hover {
    background-color: var(--primary-accent-darker);
}

.styled-form .btn-primary { /* This is the main upload button */
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--primary-black); /* Fixed contrast */
    padding: 0.75em 1.5em;
    font-size: 1em;
    transition: background-color 0.2s ease-in-out;
}

.styled-form .btn-primary:hover {
    background-color: var(--primary-accent-darker);
    border-color: var(--primary-accent-darker);
    color: var(--primary-black); /* Ensure color remains */
}

.error-message, .success-message {
    padding: 1em;
    margin-bottom: 1.5em;
    border-radius: var(--border-radius);
    font-size: 0.95em;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5em; /* Ensure this was applied, good spacing */
}

.photo-item {
    background-color: var(--primary-white);
    border: 1px solid var(--soft-gray);
    border-radius: var(--border-radius);
    padding: 1em;
    text-align: center;
    box-shadow: var(--box-shadow-soft);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.photo-item:hover {
    transform: translateY(-4px); /* Subtle lift */
    box-shadow: var(--box-shadow-medium);
}

.photo-item img {
    max-width: 100%;
    height: 120px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image covers the area, might crop */
    border-radius: 3px; /* Keep or match --border-radius */
    margin-bottom: 0.75em;
}

.photo-item p { /* Filename */
    font-size: 0.9em; /* Slightly larger for readability */
    color: var(--dark-gray);
    margin-bottom: 0.25em;
    word-break: break-all; /* Prevent long filenames from breaking layout */
}

.photo-item small { /* Date */
    font-size: 0.8em; /* Slightly larger */
    color: var(--medium-gray);
    font-family: var(--primary-font);
}

.photo-item .btn-danger { /* Delete button within photo item */
    font-size: 0.8em;
    padding: 0.3em 0.6em;
    /* Styling will be inherited from general .btn-danger */
}

/* Gallery Management List Styling */
.gallery-list { /* General class for gallery lists if any other exists */
    list-style: none;
    padding: 0;
}

.managed-gallery-list li {
    background-color: var(--primary-white);
    border: 1px solid var(--soft-gray);
    border-radius: var(--border-radius);
    margin-bottom: 1.5em;
    padding: 1.5em;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    align-items: flex-start; /* Align items to the top */
    box-shadow: var(--box-shadow-soft);
    transition: box-shadow 0.2s ease-in-out;
}
.managed-gallery-list li:hover {
    box-shadow: var(--box-shadow-medium);
}

.gallery-cover-preview {
    width: 150px; /* Fixed width for the preview image container */
    height: 100px; /* Fixed height */
    margin-right: 1.5em;
    margin-bottom: 1em; /* Add margin for smaller screens when items wrap */
    border-radius: var(--border-radius); /* Consistent rounding */
    background-color: var(--light-gray-bg); /* Softer placeholder bg */
}

.gallery-cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
}

.gallery-cover-preview.placeholder-preview span {
    font-size: 0.85em; /* Slightly larger */
    color: var(--medium-gray);
}

.gallery-info {
    flex: 1; /* Takes up remaining space */
    min-width: 250px; /* Minimum width before wrapping */
    margin-bottom: 1em; /* Spacing for actions when wrapped */
}

.gallery-info h3 {
    font-family: var(--font-serif);
    font-size: 1.4em;
    color: var(--primary-black); /* Stronger color for gallery titles */
    margin-top: 0;
    margin-bottom: 0.3em;
}

.gallery-info p {
    font-size: 0.9em;
    color: var(--medium-gray); /* Softer for description */
    font-family: var(--primary-font);
}

.gallery-info small {
    font-size: 0.8em;
    color: var(--medium-gray); /* Softer for date */
    font-family: var(--primary-font);
}

.managed-gallery-list .actions .btn {
    margin-bottom: 0.5em; /* Space between buttons */
    width: 100%; /* Make buttons full width of their container */
    text-align: left;
    padding-left: 0.8em;
    font-weight: 500; /* Consistent button font weight */
}

/* Ensure dashboard actions buttons are styled well */
.dashboard-actions {
    margin-bottom: 2em;
}
.dashboard-actions .btn-accent { /* e.g. Create New Gallery */
    padding: 0.7em 1.5em;
    font-size: 1em;
}

/* Ensure Font Awesome icons have a little space if used with text */
.btn .fas.mr-1, .btn .far.mr-1, .btn .fab.mr-1 {
    margin-right: 0.35rem;
}

:root {
    --primary-font: 'Noto Sans', sans-serif;
    --serif-font: 'Noto Serif', serif;
    --primary-black: #121212;
    --dark-gray: #333333; /* For primary text */
    --medium-gray: #555555; /* For secondary text */
    --soft-gray: #e0e0e0; /* For borders, subtle backgrounds */
    --light-gray-bg: #f8f8f8; /* For page backgrounds or cards */
    --primary-white: #ffffff;
    --primary-accent: #D4AF7A; /* Soft Beige/Champagne Gold */
    --primary-accent-darker: #c09d6e; /* For hover states on accent elements */
    --danger-red: #dc3545; /* Standard Bootstrap danger red */
    --danger-red-darker: #c82333; /* Darker for hover */
    --danger-red-text: #ffffff;
    --success-green: #28a745;
    --success-green-text: #ffffff;

    --border-radius: 6px; /* Slightly more modern radius */
    --box-shadow-soft: 0 4px 12px rgba(0,0,0,0.08);
    --box-shadow-medium: 0 6px 15px rgba(0,0,0,0.12);
}

body {
    font-family: var(--primary-font);
    color: var(--dark-gray);
    background-color: var(--primary-white); /* Or --light-gray-bg for a softer overall look */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: var(--serif-font);
    color: var(--primary-black); /* Stronger color for headers */
}

/* General Button Styling */
.btn {
    font-family: var(--primary-font);
    border-radius: var(--border-radius);
    padding: 0.6em 1.2em;
    font-size: 0.95em;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid transparent;
}

.btn-sm {
    padding: 0.4em 0.8em;
    font-size: 0.85em;
}

.btn-lg {
    padding: 0.8em 1.5em;
    font-size: 1.1em;
}

.btn-accent {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--primary-black); /* Ensuring contrast */
}

.btn-accent:hover {
    background-color: var(--primary-accent-darker);
    border-color: var(--primary-accent-darker);
    color: var(--primary-black);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-primary { /* Assuming Bootstrap primary is blue, let's make our own if needed or override */
    background-color: var(--primary-accent); /* Using accent for primary actions */
    border-color: var(--primary-accent);
    color: var(--primary-black); /* Ensuring contrast */
}
.btn-primary:hover {
    background-color: var(--primary-accent-darker);
    border-color: var(--primary-accent-darker);
    color: var(--primary-black);
}


.btn-danger {
    background-color: var(--danger-red);
    border-color: var(--danger-red);
    color: var(--danger-red-text);
}

.btn-danger:hover {
    background-color: var(--danger-red-darker);
    border-color: var(--danger-red-darker);
    color: var(--danger-red-text);
}

.btn-ghost {
    background-color: transparent;
    border-color: var(--soft-gray);
    color: var(--dark-gray);
}

.btn-ghost:hover {
    background-color: var(--soft-gray);
    border-color: var(--soft-gray);
    color: var(--primary-black);
}

.btn-ghost.btn-accent { /* Ghost button with accent color */
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}
.btn-ghost.btn-accent:hover {
    background-color: rgba(212, 175, 122, 0.1); /* Very light accent bg */
    border-color: var(--primary-accent-darker);
    color: var(--primary-accent-darker);
}

.btn-ghost.btn-danger { /* Ghost button with danger color */
    border-color: var(--danger-red);
    color: var(--danger-red);
}
.btn-ghost.btn-danger:hover {
    background-color: rgba(220, 53, 69, 0.1); /* Very light danger bg */
    border-color: var(--danger-red-darker);
    color: var(--danger-red-darker);
}

/* Favorite Button Styles */
.favorite-toggle-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2em;
    color: #ccc; /* Default color for non-favorited */
    transition: color 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.favorite-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 1);
}

.favorite-toggle-btn.favorited {
    color: #ff6b6b; /* Red for favorited */
}

.favorite-toggle-btn.favorited:hover {
    color: #e05252;
}

.favorite-toggle-btn i {
    pointer-events: none; /* Ensure clicks go to the button */
}

/* Message styling for AJAX updates */
#favorite-status-message.message {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

#favorite-status-message.success-message {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

#favorite-status-message.error-message {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Client View Page Specific Styles */
.client-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 992px) { /* Adjusted breakpoint for potentially wider content */
    .client-details-grid {
        grid-template-columns: 3fr 2fr; /* Client info wider than notes */
    }
}

.client-info h2, .client-notes h2, .client-activity h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #333;
}

.client-info p, .client-notes p {
    margin-bottom: 8px;
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

.client-info p strong {
    color: #141414;
}

.client-activity .card {
    margin-bottom: 20px;
}

.client-activity table.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.client-activity th, .client-activity td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.client-activity thead th {
    background-color: #f7f7f7;
    font-weight: 500;
    color: #333;
}

.client-activity tbody tr:last-child td {
    border-bottom: none;
}

.client-activity .item-list {
    list-style: none;
    padding: 0;
}
.client-activity .item-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.client-activity .item-list li:last-child {
    border-bottom: none;
}

/* Enhanced Index Page Styles */
.hero-section.text-center .display-4 {
    font-size: 3.5rem; /* Larger hero title */
    font-weight: 900;
    color: #000;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-outline-light:hover {
    color: #141414;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.ml-2 { margin-left: 0.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.text-center { text-align: center !important; }

.features-overview .feature-item {
    border: 1px solid #e9ecef; /* Softer border */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure items in a row have same height if content varies */
}

.features-overview .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.features-overview .feature-item i.fas {
    color: #a07c52; /* Accent color for icons */
}

.features-overview .feature-item h3 {
    font-size: 1.6em;
    margin-bottom: 0.75em;
}

.features-overview .feature-item p {
    font-size: 0.95em;
    color: #555;
    flex-grow: 1; /* Allows paragraph to take available space */
}

.bg-light {
    background-color: #f8f9fa !important; /* Light background for sections */
}

.why-choose-us ul li div h4 {
    font-size: 1.3em;
    margin-bottom: 0.3em;
}

.why-choose-us ul li div p {
    font-size: 0.95em;
    color: #555;
}

.why-choose-us .img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 0.25rem !important;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.mr-3 { margin-right: 1rem !important; }
.mt-1 { margin-top: 0.25rem !important; }

.bg-dark {
    background-color: #141414 !important;
}

.text-white {
    color: #fff !important;
}

.cta-section h2 {
    font-size: 2.2rem;
    color: #fff;
}

.cta-section .lead {
    color: rgba(255,255,255,0.8);
}

/* Bootstrap-like row and col for basic grid - ensure .container is wide enough or use full width sections */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px; /* Counteract padding on cols */
    margin-left: -15px;  /* Counteract padding on cols */
}

.col-md-4, .col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) { /* md breakpoint */
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .align-items-center {
        align-items: center !important;
    }
}

/* Font Awesome Icons - If you plan to use them, ensure you have Font Awesome linked in your header.php */
/* Example: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> */
.text-accent {
    color: #a07c52 !important;
}
.fa-3x { font-size: 3em; }
.fa-2x { font-size: 2em; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.d-flex { display: flex !important; }

/* Gallery Card Styles - client_galleries.php */
.gallery-card .card-img-top {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-thumbnail-link img {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-thumbnail-link:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card-title a {
    color: var(--dark-gray);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--primary-accent);
}

/* Client Order Details Page */
.badge-info {
    background-color: var(--soft-beige);
    color: var(--dark-gray);
    font-weight: normal;
    padding: 0.4em 0.6em;
}

/* Photo Upload Page Styling */
.dashboard-container {
    padding-top: 2em;
    padding-bottom: 3em; /* More bottom padding */
    max-width: 900px; /* Constrain width for better readability on large screens */
    margin-left: auto;
    margin-right: auto;
}

.dashboard-container h1 {
    color: var(--primary-black);
    margin-bottom: 0.5em;
    font-size: 2.2em; /* Slightly larger */
}
.dashboard-container h2 {
    color: var(--primary-black);
    margin-top: 2em;
    margin-bottom: 1em;
    font-family: var(--serif-font);
    font-size: 1.8em; /* Slightly larger */
    border-bottom: 1px solid var(--soft-gray);
    padding-bottom: 0.3em;
}


.dashboard-container .btn-ghost {
    color: var(--dark-gray);
    border-color: var(--soft-gray);
    padding: 0.5em 1em;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1.5em;
    border-radius: var(--border-radius);
}

.dashboard-container .btn-ghost:hover {
    background-color: var(--soft-gray);
    color: var(--primary-black);
}

.styled-form {
    background-color: var(--primary-white);
    padding: 2em;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-soft);
    margin-bottom: 2em;
}

.styled-form .form-group {
    margin-bottom: 1.5em;
}

.styled-form label {
    display: block;
    margin-bottom: 0.5em;
    color: var(--medium-gray); /* Softer color for labels */
    font-weight: 500; /* Noto Sans regular is 400, medium is 500 */
}

.styled-form input[type="file"] {
    border: 1px solid var(--soft-gray);
    padding: 0.75em;
    border-radius: var(--border-radius);
    width: 100%;
    box-sizing: border-box;
    background-color: var(--light-gray-bg); /* Lighter background for input */
    font-family: var(--primary-font);
}

.styled-form input[type="file"]::file-selector-button {
    background-color: var(--primary-accent);
    color: var(--primary-black); /* Fixed contrast */
    border: none;
    padding: 0.6em 1em; /* Adjusted padding */
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    font-family: var(--primary-font);
    font-weight: 500;
}

.styled-form input[type="file"]::file-selector-button:hover {
    background-color: var(--primary-accent-darker);
}

.styled-form .btn-primary { /* This is the main upload button */
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--primary-black); /* Fixed contrast */
    padding: 0.75em 1.5em;
    font-size: 1em;
    transition: background-color 0.2s ease-in-out;
}

.styled-form .btn-primary:hover {
    background-color: var(--primary-accent-darker);
    border-color: var(--primary-accent-darker);
    color: var(--primary-black); /* Ensure color remains */
}

.error-message, .success-message {
    padding: 1em;
    margin-bottom: 1.5em;
    border-radius: var(--border-radius);
    font-size: 0.95em;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5em; /* Ensure this was applied, good spacing */
}

.photo-item {
    background-color: var(--primary-white);
    border: 1px solid var(--soft-gray);
    border-radius: var(--border-radius);
    padding: 1em;
    text-align: center;
    box-shadow: var(--box-shadow-soft);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.photo-item:hover {
    transform: translateY(-4px); /* Subtle lift */
    box-shadow: var(--box-shadow-medium);
}

.photo-item img {
    max-width: 100%;
    height: 120px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image covers the area, might crop */
    border-radius: 3px; /* Keep or match --border-radius */
    margin-bottom: 0.75em;
}

.photo-item p { /* Filename */
    font-size: 0.9em; /* Slightly larger for readability */
    color: var(--dark-gray);
    margin-bottom: 0.25em;
    word-break: break-all; /* Prevent long filenames from breaking layout */
}

.photo-item small { /* Date */
    font-size: 0.8em; /* Slightly larger */
    color: var(--medium-gray);
    font-family: var(--primary-font);
}

.photo-item .btn-danger { /* Delete button within photo item */
    font-size: 0.8em;
    padding: 0.3em 0.6em;
    /* Styling will be inherited from general .btn-danger */
}

/* Gallery Management List Styling */
.gallery-list { /* General class for gallery lists if any other exists */
    list-style: none;
    padding: 0;
}

.managed-gallery-list li {
    background-color: var(--primary-white);
    border: 1px solid var(--soft-gray);
    border-radius: var(--border-radius);
    margin-bottom: 1.5em;
    padding: 1.5em;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    align-items: flex-start; /* Align items to the top */
    box-shadow: var(--box-shadow-soft);
    transition: box-shadow 0.2s ease-in-out;
}
.managed-gallery-list li:hover {
    box-shadow: var(--box-shadow-medium);
}

.gallery-cover-preview {
    width: 150px; /* Fixed width for the preview image container */
    height: 100px; /* Fixed height */
    margin-right: 1.5em;
    margin-bottom: 1em; /* Add margin for smaller screens when items wrap */
    border-radius: var(--border-radius); /* Consistent rounding */
    background-color: var(--light-gray-bg); /* Softer placeholder bg */
}

.gallery-cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
}

.gallery-cover-preview.placeholder-preview span {
    font-size: 0.85em; /* Slightly larger */
    color: var(--medium-gray);
}

.gallery-info {
    flex: 1; /* Takes up remaining space */
    min-width: 250px; /* Minimum width before wrapping */
    margin-bottom: 1em; /* Spacing for actions when wrapped */
}

.gallery-info h3 {
    font-family: var(--font-serif);
    font-size: 1.4em;
    color: var(--primary-black); /* Stronger color for gallery titles */
    margin-top: 0;
    margin-bottom: 0.3em;
}

.gallery-info p {
    font-size: 0.9em;
    color: var(--medium-gray); /* Softer for description */
    font-family: var(--primary-font);
}

.gallery-info small {
    font-size: 0.8em;
    color: var(--medium-gray); /* Softer for date */
    font-family: var(--primary-font);
}

.managed-gallery-list .actions .btn {
    margin-bottom: 0.5em; /* Space between buttons */
    width: 100%; /* Make buttons full width of their container */
    text-align: left;
    padding-left: 0.8em;
    font-weight: 500; /* Consistent button font weight */
}

/* Ensure dashboard actions buttons are styled well */
.dashboard-actions {
    margin-bottom: 2em;
}
.dashboard-actions .btn-accent { /* e.g. Create New Gallery */
    padding: 0.7em 1.5em;
    font-size: 1em;
}

/* Ensure Font Awesome icons have a little space if used with text */
.btn .fas.mr-1, .btn .far.mr-1, .btn .fab.mr-1 {
    margin-right: 0.35rem;
}

:root {
    --primary-font: 'Noto Sans', sans-serif;
    --serif-font: 'Noto Serif', serif;
    --primary-black: #121212;
    --dark-gray: #333333; /* For primary text */
    --medium-gray: #555555; /* For secondary text */
    --soft-gray: #e0e0e0; /* For borders, subtle backgrounds */
    --light-gray-bg: #f8f8f8; /* For page backgrounds or cards */
    --primary-white: #ffffff;
    --primary-accent: #D4AF7A; /* Soft Beige/Champagne Gold */
    --primary-accent-darker: #c09d6e; /* For hover states on accent elements */
    --danger-red: #dc3545; /* Standard Bootstrap danger red */
    --danger-red-darker: #c82333; /* Darker for hover */
    --danger-red-text: #ffffff;
    --success-green: #28a745;
    --success-green-text: #ffffff;

    --border-radius: 6px; /* Slightly more modern radius */
    --box-shadow-soft: 0 4px 12px rgba(0,0,0,0.08);
    --box-shadow-medium: 0 6px 15px rgba(0,0,0,0.12);
}

body {
    font-family: var(--primary-font);
    color: var(--dark-gray);
    background-color: var(--primary-white); /* Or --light-gray-bg for a softer overall look */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: var(--serif-font);
    color: var(--primary-black); /* Stronger color for headers */
}

/* General Button Styling */
.btn {
    font-family: var(--primary-font);
    border-radius: var(--border-radius);
    padding: 0.6em 1.2em;
    font-size: 0.95em;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid transparent;
}

.btn-sm {
    padding: 0.4em 0.8em;
    font-size: 0.85em;
}

.btn-lg {
    padding: 0.8em 1.5em;
    font-size: 1.1em;
}

.btn-accent {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--primary-black); /* Ensuring contrast */
}

.btn-accent:hover {
    background-color: var(--primary-accent-darker);
    border-color: var(--primary-accent-darker);
    color: var(--primary-black);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-primary { /* Assuming Bootstrap primary is blue, let's make our own if needed or override */
    background-color: var(--primary-accent); /* Using accent for primary actions */
    border-color: var(--primary-accent);
    color: var(--primary-black); /* Ensuring contrast */
}
.btn-primary:hover {
    background-color: var(--primary-accent-darker);
    border-color: var(--primary-accent-darker);
    color: var(--primary-black);
}


.btn-danger {
    background-color: var(--danger-red);
    border-color: var(--danger-red);
    color: var(--danger-red-text);
}

.btn-danger:hover {
    background-color: var(--danger-red-darker);
    border-color: var(--danger-red-darker);
    color: var(--danger-red-text);
}

.btn-ghost {
    background-color: transparent;
    border-color: var(--soft-gray);
    color: var(--dark-gray);
}

.btn-ghost:hover {
    background-color: var(--soft-gray);
    border-color: var(--soft-gray);
    color: var(--primary-black);
}

.btn-ghost.btn-accent { /* Ghost button with accent color */
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}
.btn-ghost.btn-accent:hover {
    background-color: rgba(212, 175, 122, 0.1); /* Very light accent bg */
    border-color: var(--primary-accent-darker);
    color: var(--primary-accent-darker);
}

.btn-ghost.btn-danger { /* Ghost button with danger color */
    border-color: var(--danger-red);
    color: var(--danger-red);
}
.btn-ghost.btn-danger:hover {
    background-color: rgba(220, 53, 69, 0.1); /* Very light danger bg */
    border-color: var(--danger-red-darker);
    color: var(--danger-red-darker);
}

/* Favorite Button Styles */
.favorite-toggle-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2em;
    color: #ccc; /* Default color for non-favorited */
    transition: color 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.favorite-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 1);
}

.favorite-toggle-btn.favorited {
    color: #ff6b6b; /* Red for favorited */
}

.favorite-toggle-btn.favorited:hover {
    color: #e05252;
}

.favorite-toggle-btn i {
    pointer-events: none; /* Ensure clicks go to the button */
}

/* Message styling for AJAX updates */
#favorite-status-message.message {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

#favorite-status-message.success-message {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

#favorite-status-message.error-message {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Client View Page Specific Styles */
.client-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 992px) { /* Adjusted breakpoint for potentially wider content */
    .client-details-grid {
        grid-template-columns: 3fr 2fr; /* Client info wider than notes */
    }
}

.client-info h2, .client-notes h2, .client-activity h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #333;
}

.client-info p, .client-notes p {
    margin-bottom: 8px;
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

.client-info p strong {
    color: #141414;
}

.client-activity .card {
    margin-bottom: 20px;
}

.client-activity table.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.client-activity th, .client-activity td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.client-activity thead th {
    background-color: #f7f7f7;
    font-weight: 500;
    color: #333;
}

.client-activity tbody tr:last-child td {
    border-bottom: none;
}

.client-activity .item-list {
    list-style: none;
    padding: 0;
}
.client-activity .item-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.client-activity .item-list li:last-child {
    border-bottom: none;
}

/* Enhanced Index Page Styles */
.hero-section.text-center .display-4 {
    font-size: 3.5rem; /* Larger hero title */
    font-weight: 900;
    color: #000;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-outline-light:hover {
    color: #141414;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.ml-2 { margin-left: 0.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.text-center { text-align: center !important; }

.features-overview .feature-item {
    border: 1px solid #e9ecef; /* Softer border */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure items in a row have same height if content varies */
}

.features-overview .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.features-overview .feature-item i.fas {
    color: #a07c52; /* Accent color for icons */
}

.features-overview .feature-item h3 {
    font-size: 1.6em;
    margin-bottom: 0.75em;
}

.features-overview .feature-item p {
    font-size: 0.95em;
    color: #555;
    flex-grow: 1; /* Allows paragraph to take available space */
}

.bg-light {
    background-color: #f8f9fa !important; /* Light background for sections */
}

.why-choose-us ul li div h4 {
    font-size: 1.3em;
    margin-bottom: 0.3em;
}

.why-choose-us ul li div p {
    font-size: 0.95em;
    color: #555;
}

.why-choose-us .img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 0.25rem !important;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.mr-3 { margin-right: 1rem !important; }
.mt-1 { margin-top: 0.25rem !important; }

.bg-dark {
    background-color: #141414 !important;
}

.text-white {
    color: #fff !important;
}

.cta-section h2 {
    font-size: 2.2rem;
    color: #fff;
}

.cta-section .lead {
    color: rgba(255,255,255,0.8);
}

/* Bootstrap-like row and col for basic grid - ensure .container is wide enough or use full width sections */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px; /* Counteract padding on cols */
    margin-left: -15px;  /* Counteract padding on cols */
}

.col-md-4, .col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) { /* md breakpoint */
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .align-items-center {
        align-items: center !important;
    }
}

/* Font Awesome Icons - If you plan to use them, ensure you have Font Awesome linked in your header.php */
/* Example: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> */
.text-accent {
    color: #a07c52 !important;
}
.fa-3x { font-size: 3em; }
.fa-2x { font-size: 2em; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.d-flex { display: flex !important; }

/* Gallery Card Styles - client_galleries.php */
.gallery-card .card-img-top {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-thumbnail-link img {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-thumbnail-link:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card-title a {
    color: var(--dark-gray);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--primary-accent);
}

/* Client Order Details Page */
.badge-info {
    background-color: var(--soft-beige);
    color: var(--dark-gray);
    font-weight: normal;
    padding: 0.4em 0.6em;
}

/* Photo Upload Page Styling */
.dashboard-container {
    padding-top: 2em;
    padding-bottom: 3em; /* More bottom padding */
    max-width: 900px; /* Constrain width for better readability on large screens */
    margin-left: auto;
    margin-right: auto;
}

.dashboard-container h1 {
    color: var(--primary-black);
    margin-bottom: 0.5em;
    font-size: 2.2em; /* Slightly larger */
}
.dashboard-container h2 {
    color: var(--primary-black);
    margin-top: 2em;
    margin-bottom: 1em;
    font-family: var(--serif-font);
    font-size: 1.8em; /* Slightly larger */
    border-bottom: 1px solid var(--soft-gray);
    padding-bottom: 0.3em;
}


.dashboard-container .btn-ghost {
    color: var(--dark-gray);
    border-color: var(--soft-gray);
    padding: 0.5em 1em;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1.5em;
    border-radius: var(--border-radius);
}

.dashboard-container .btn-ghost:hover {
    background-color: var(--soft-gray);
    color: var(--primary-black);
}

.styled-form {
    background-color: var(--primary-white);
    padding: 2em;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-soft);
    margin-bottom: 2em;
}

.styled-form .form-group {
    margin-bottom: 1.5em;
}

.styled-form label {
    display: block;
    margin-bottom: 0.5em;
    color: var(--medium-gray); /* Softer color for labels */
    font-weight: 500; /* Noto Sans regular is 400, medium is 500 */
}

.styled-form input[type="file"] {
    border: 1px solid var(--soft-gray);
    padding: 0.75em;
    border-radius: var(--border-radius);
    width: 100%;
    box-sizing: border-box;
    background-color: var(--light-gray-bg); /* Lighter background for input */
    font-family: var(--primary-font);
}

.styled-form input[type="file"]::file-selector-button {
    background-color: var(--primary-accent);
    color: var(--primary-black); /* Fixed contrast */
    border: none;
    padding: 0.6em 1em; /* Adjusted padding */
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    font-family: var(--primary-font);
    font-weight: 500;
}

.styled-form input[type="file"]::file-selector-button:hover {
    background-color: var(--primary-accent-darker);
}

.styled-form .btn-primary { /* This is the main upload button */
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--primary-black); /* Fixed contrast */
    padding: 0.75em 1.5em;
    font-size: 1em;
    transition: background-color 0.2s ease-in-out;
}

.styled-form .btn-primary:hover {
    background-color: var(--primary-accent-darker);
    border-color: var(--primary-accent-darker);
    color: var(--primary-black); /* Ensure color remains */
}

.error-message, .success-message {
    padding: 1em;
    margin-bottom: 1.5em;
    border-radius: var(--border-radius);
    font-size: 0.95em;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5em; /* Ensure this was applied, good spacing */
}

.photo-item {
    background-color: var(--primary-white);
    border: 1px solid var(--soft-gray);
    border-radius: var(--border-radius);
    padding: 1em;
    text-align: center;
    box-shadow: var(--box-shadow-soft);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.photo-item:hover {
    transform: translateY(-4px); /* Subtle lift */
    box-shadow: var(--box-shadow-medium);
}

.photo-item img {
    max-width: 100%;
    height: 120px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image covers the area, might crop */
    border-radius: 3px; /* Keep or match --border-radius */
    margin-bottom: 0.75em;
}

.photo-item p { /* Filename */
    font-size: 0.9em; /* Slightly larger for readability */
    color: var(--dark-gray);
    margin-bottom: 0.25em;
    word-break: break-all; /* Prevent long filenames from breaking layout */
}

.photo-item small { /* Date */
    font-size: 0.8em; /* Slightly larger */
    color: var(--medium-gray);
    font-family: var(--primary-font);
}

.photo-item .btn-danger { /* Delete button within photo item */
    font-size: 0.8em;
    padding: 0.3em 0.6em;
    /* Styling will be inherited from general .btn-danger */
}

/* Gallery Management List Styling */
.gallery-list { /* General class for gallery lists if any other exists */
    list-style: none;
    padding: 0;
}

.managed-gallery-list li {
    background-color: var(--primary-white);
    border: 1px solid var(--soft-gray);
    border-radius: var(--border-radius);
    margin-bottom: 1.5em;
    padding: 1.5em;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    align-items: flex-start; /* Align items to the top */
    box-shadow: var(--box-shadow-soft);
    transition: box-shadow 0.2s ease-in-out;
}
.managed-gallery-list li:hover {
    box-shadow: var(--box-shadow-medium);
}

.gallery-cover-preview {
    width: 150px; /* Fixed width for the preview image container */
    height: 100px; /* Fixed height */
    margin-right: 1.5em;
    margin-bottom: 1em; /* Add margin for smaller screens when items wrap */
    border-radius: var(--border-radius); /* Consistent rounding */
    background-color: var(--light-gray-bg); /* Softer placeholder bg */
}

.gallery-cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
}

.gallery-cover-preview.placeholder-preview span {
    font-size: 0.85em; /* Slightly larger */
    color: var(--medium-gray);
}

.gallery-info {
    flex: 1; /* Takes up remaining space */
    min-width: 250px; /* Minimum width before wrapping */
    margin-bottom: 1em; /* Spacing for actions when wrapped */
}

.gallery-info h3 {
    font-family: var(--font-serif);
    font-size: 1.4em;
    color: var(--primary-black); /* Stronger color for gallery titles */
    margin-top: 0;
    margin-bottom: 0.3em;
}

.gallery-info p {
    font-size: 0.9em;
    color: var(--medium-gray); /* Softer for description */
    font-family: var(--primary-font);
}

.gallery-info small {
    font-size: 0.8em;
    color: var(--medium-gray); /* Softer for date */
    font-family: var(--primary-font);
}

.managed-gallery-list .actions .btn {
    margin-bottom: 0.5em; /* Space between buttons */
    width: 100%; /* Make buttons full width of their container */
    text-align: left;
    padding-left: 0.8em;
    font-weight: 500; /* Consistent button font weight */
}

/* Ensure dashboard actions buttons are styled well */
.dashboard-actions {
    margin-bottom: 2em;
}
.dashboard-actions .btn-accent { /* e.g. Create New Gallery */
    padding: 0.7em 1.5em;
    font-size: 1em;
}

/* Ensure Font Awesome icons have a little space if used with text */
.btn .fas.mr-1, .btn .far.mr-1, .btn .fab.mr-1 {
    margin-right: 0.35rem;
}

:root {
    --primary-font: 'Noto Sans', sans-serif;
    --serif-font: 'Noto Serif', serif;
    --primary-black: #121212;
    --dark-gray: #333333; /* For primary text */
    --medium-gray: #555555; /* For secondary text */
    --soft-gray: #e0e0e0; /* For borders, subtle backgrounds */
    --light-gray-bg: #f8f8f8; /* For page backgrounds or cards */
    --primary-white: #ffffff;
    --primary-accent: #D4AF7A; /* Soft Beige/Champagne Gold */
    --primary-accent-darker: #c09d6e; /* For hover states on accent elements */
    --danger-red: #dc3545; /* Standard Bootstrap danger red */
    --danger-red-darker: #c82333; /* Darker for hover */
    --danger-red-text: #ffffff;
    --success-green: #28a745;
    --success-green-text: #ffffff;

    --border-radius: 6px; /* Slightly more modern radius */
    --box-shadow-soft: 0 4px 12px rgba(0,0,0,0.08);
    --box-shadow-medium: 0 6px 15px rgba(0,0,0,0.12);
}

body {
    font-family: var(--primary-font);
    color: var(--dark-gray);
    background-color: var(--primary-white); /* Or --light-gray-bg for a softer overall look */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: var(--serif-font);
    color: var(--primary-black); /* Stronger color for headers */
}

/* General Button Styling */
.btn {
    font-family: var(--primary-font);
    border-radius: var(--border-radius);
    padding: 0.6em 1.2em;
    font-size: 0.95em;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid transparent;
}

.btn-sm {
    padding: 0.4em 0.8em;
    font-size: 0.85em;
}

.btn-lg {
    padding: 0.8em 1.5em;
    font-size: 1.1em;
}

.btn-accent {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--primary-black); /* Ensuring contrast */
}

.btn-accent:hover {
    background-color: var(--primary-accent-darker);
    border-color: var(--primary-accent-darker);
    color: var(--primary-black);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-primary { /* Assuming Bootstrap primary is blue, let's make our own if needed or override */
    background-color: var(--primary-accent); /* Using accent for primary actions */
    border-color: var(--primary-accent);
    color: var(--primary-black); /* Ensuring contrast */
}
.btn-primary:hover {
    background-color: var(--primary-accent-darker);
    border-color: var(--primary-accent-darker);
    color: var(--primary-black);
}


.btn-danger {
    background-color: var(--danger-red);
    border-color: var(--danger-red);
    color: var(--danger-red-text);
}

.btn-danger:hover {
    background-color: var(--danger-red-darker);
    border-color: var(--danger-red-darker);
    color: var(--danger-red-text);
}

.btn-ghost {
    background-color: transparent;
    border-color: var(--soft-gray);
    color: var(--dark-gray);
}

.btn-ghost:hover {
    background-color: var(--soft-gray);
    border-color: var(--soft-gray);
    color: var(--primary-black);
}

.btn-ghost.btn-accent { /* Ghost button with accent color */
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}
.btn-ghost.btn-accent:hover {
    background-color: rgba(212, 175, 122, 0.1); /* Very light accent bg */
    border-color: var(--primary-accent-darker);
    color: var(--primary-accent-darker);
}

.btn-ghost.btn-danger { /* Ghost button with danger color */
    border-color: var(--danger-red);
    color: var(--danger-red);
}
.btn-ghost.btn-danger:hover {
    background-color: rgba(220, 53, 69, 0.1); /* Very light danger bg */
    border-color: var(--danger-red-darker);
    color: var(--danger-red-darker);
}

/* Favorite Button Styles */
.favorite-toggle-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2em;
    color: #ccc; /* Default color for non-favorited */
    transition: color 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.favorite-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 1);
}

.favorite-toggle-btn.favorited {
    color: #ff6b6b; /* Red for favorited */
}

.favorite-toggle-btn.favorited:hover {
    color: #e05252;
}

.favorite-toggle-btn i {
    pointer-events: none; /* Ensure clicks go to the button */
}

/* Message styling for AJAX updates */
#favorite-status-message.message {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

#favorite-status-message.success-message {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

#favorite-status-message.error-message {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Client View Page Specific Styles */
.client-details-grid {
    display: grid;
    grid-template-columns:  1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 992px) { /* Adjusted breakpoint for potentially wider content */
    .client-details-grid {
        grid-template-columns: 3fr 2fr; /* Client info wider than notes */
    }
}

.client-info h2, .client-notes h2, .client-activity h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #333;
}

.client-info p, .client-notes p {
    margin-bottom: 8px;
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

.client-info p strong {
    color: #141414;
}

.client-activity .card {
    margin-bottom: 20px;
}

.client-activity table.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.client-activity th, .client-activity td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.client-activity thead th {
    background-color: #f7f7f7;
    font-weight: 500;
    color: #333;
}

.client-activity tbody tr:last-child td {
    border-bottom: none;
}

.client-activity .item-list {
    list-style: none;
    padding: 0;
}
.client-activity .item-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.client-activity .item-list li:last-child {
    border-bottom: none;
}

/* Enhanced Index Page Styles */
.hero-section.text-center .display-4 {
    font-size: 3.5rem; /* Larger hero title */
    font-weight: 900;
    color: #000;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-outline-light:hover {
    color: #141414;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.ml-2 { margin-left: 0.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.text-center { text-align: center !important; }

.features-overview .feature-item {
    border: 1px solid #e9ecef; /* Softer border */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure items in a row have same height if content varies */
}

.features-overview .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.features-overview .feature-item i.fas {
    color: #a07c52; /* Accent color for icons */
}

.features-overview .feature-item h3 {
    font-size: 1.6em;
    margin-bottom: 0.75em;
}

.features-overview .feature-item p {
    font-size: 0.95em;
    color: #555;
    flex-grow: 1; /* Allows paragraph to take available space */
}

.bg-light {
    background-color: #f8f9fa !important; /* Light background for sections */
}

.why-choose-us ul li div h4 {
    font-size: 1.3em;
    margin-bottom: 0.3em;
}

.why-choose-us ul li div p {
    font-size: 0.95em;
    color: #555;
}

.why-choose-us .img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 0.25rem !important;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.mr-3 { margin-right: 1rem !important; }
.mt-1 { margin-top: 0.25rem !important; }

.bg-dark {
    background-color: #141414 !important;
}

.text-white {
    color: #fff !important;
}

.cta-section h2 {
    font-size: 2.2rem;
    color: #fff;
}

.cta-section .lead {
    color: rgba(255,255,255,0.8);
}

/* Bootstrap-like row and col for basic grid - ensure .container is wide enough or use full width sections */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px; /* Counteract padding on cols */
    margin-left: -15px;  /* Counteract padding on cols */
}

.col-md-4, .col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) { /* md breakpoint */
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .align-items-center {
        align-items: center !important;
    }
}

/* Font Awesome Icons - If you plan to use them, ensure you have Font Awesome linked in your header.php */
/* Example: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> */
.text-accent {
    color: #a07c52 !important;
}
.fa-3x { font-size: 3em; }
.fa-2x { font-size: 2em; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.d-flex { display: flex !important; }

/* Gallery Card Styles - client_galleries.php */
.gallery-card .card-img-top {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-thumbnail-link img {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-thumbnail-link:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card-title a {
    color: var(--dark-gray);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--primary-accent);
}

/* Client Order Details Page */
.badge-info {
    background-color: var(--soft-beige);
    color: var(--dark-gray);
    font-weight: normal;
    padding: 0.4em 0.6em;
}

/* Photo Upload Page Styling */
.dashboard-container {
    padding-top: 2em;
    padding-bottom: 3em; /* More bottom padding */
    max-width: 900px; /* Constrain width for better readability on large screens */
    margin-left: auto;
    margin-right: auto;
}

.dashboard-container h1 {
    color: var(--primary-black);
    margin-bottom: 0.5em;
    font-size: 2.2em; /* Slightly larger */
}
.dashboard-container h2 {
    color: var(--primary-black);
    margin-top: 2em;
    margin-bottom: 1em;
    font-family: var(--serif-font);
    font-size: 1.8em; /* Slightly larger */
    border-bottom: 1px solid var(--soft-gray);
    padding-bottom: 0.3em;
}


.dashboard-container .btn-ghost {
    color: var(--dark-gray);
    border-color: var(--soft-gray);
    padding: 0.5em 1em;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1.5em;
    border-radius: var(--border-radius);
}

.dashboard-container .btn-ghost:hover {
    background-color: var(--soft-gray);
    color: var(--primary-black);
}

.styled-form {
    background-color: var(--primary-white);
    padding: 2em;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-soft);
    margin-bottom: 2em;
}

.styled-form .form-group {
    margin-bottom: 1.5em;
}

.styled-form label {
    display: block;
    margin-bottom: 0.5em;
    color: var(--medium-gray); /* Softer color for labels */
    font-weight: 500; /* Noto Sans regular is 400, medium is 500 */
}

.styled-form input[type="file"] {
    border: 1px solid var(--soft-gray);
    padding: 0.75em;
    border-radius: var(--border-radius);
    width: 100%;
    box-sizing: border-box;
    background-color: var(--light-gray-bg); /* Lighter background for input */
    font-family: var(--primary-font);
}

.styled-form input[type="file"]::file-selector-button {
    background-color: var(--primary-accent);
    color: var(--primary-black); /* Fixed contrast */
    border: none;
    padding: 0.6em 1em; /* Adjusted padding */
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    font-family: var(--primary-font);
    font-weight: 500;
}

.styled-form input[type="file"]::file-selector-button:hover {
    background-color: var(--primary-accent-darker);
}

.styled-form .btn-primary { /* This is the main upload button */
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--primary-black); /* Fixed contrast */
    padding: 0.75em 1.5em;
    font-size: 1em;
    transition: background-color 0.2s ease-in-out;
}

.styled-form .btn-primary:hover {
    background-color: var(--primary-accent-darker);
    border-color: var(--primary-accent-darker);
    color: var(--primary-black); /* Ensure color remains */
}

.error-message, .success-message {
    padding: 1em;
    margin-bottom: 1.5em;
    border-radius: var(--border-radius);
    font-size: 0.95em;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5em; /* Ensure this was applied, good spacing */
}

.photo-item {
    background-color: var(--primary-white);
    border: 1px solid var(--soft-gray);
    border-radius: var(--border-radius);
    padding: 1em;
    text-align: center;
    box-shadow: var(--box-shadow-soft);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.photo-item:hover {
    transform: translateY(-4px); /* Subtle lift */
    box-shadow: var(--box-shadow-medium);
}

.photo-item img {
    max-width: 100%;
    height: 120px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image covers the area, might crop */
    border-radius: 3px; /* Keep or match --border-radius */
    margin-bottom: 0.75em;
}

.photo-item p { /* Filename */
    font-size: 0.9em; /* Slightly larger for readability */
    color: var(--dark-gray);
    margin-bottom: 0.25em;
    word-break: break-all; /* Prevent long filenames from breaking layout */
}

.photo-item small { /* Date */
    font-size: 0.8em; /* Slightly larger */
    color: var(--medium-gray);
    font-family: var(--primary-font);
}

.photo-item .btn-danger { /* Delete button within photo item */
    font-size: 0.8em;
    padding: 0.3em 0.6em;
    /* Styling will be inherited from general .btn-danger */
}

/* Gallery Management List Styling */
.gallery-list { /* General class for gallery lists if any other exists */
    list-style: none;
    padding: 0;
}

.managed-gallery-list li {
    background-color: var(--primary-white);
    border: 1px solid var(--soft-gray);
    border-radius: var(--border-radius);
    margin-bottom: 1.5em;
    padding: 1.5em;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    align-items: flex-start; /* Align items to the top */
    box-shadow: var(--box-shadow-soft);
    transition: box-shadow 0.2s ease-in-out;
}
.managed-gallery-list li:hover {
    box-shadow: var(--box-shadow-medium);
}

.gallery-cover-preview {
    width: 150px; /* Fixed width for the preview image container */
    height: 100px; /* Fixed height */
    margin-right: 1.5em;
    margin-bottom: 1em; /* Add margin for smaller screens when items wrap */
    border-radius: var(--border-radius); /* Consistent rounding */
    background-color: var(--light-gray-bg); /* Softer placeholder bg */
}

.gallery-cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
}

.gallery-cover-preview.placeholder-preview span {
    font-size: 0.85em; /* Slightly larger */
    color: var(--medium-gray);
}

.gallery-info {
    flex: 1; /* Takes up remaining space */
    min-width: 250px; /* Minimum width before wrapping */
    margin-bottom: 1em; /* Spacing for actions when wrapped */
}

.gallery-info h3 {
    font-family: var(--font-serif);
    font-size: 1.4em;
    color: var(--primary-black); /* Stronger color for gallery titles */
    margin-top: 0;
    margin-bottom: 0.3em;
}

.gallery-info p {
    font-size: 0.9em;
    color: var(--medium-gray); /* Softer for description */
    font-family: var(--primary-font);
}

.gallery-info small {
    font-size: 0.8em;
    color: var(--medium-gray); /* Softer for date */
    font-family: var(--primary-font);
}

.managed-gallery-list .actions .btn {
    margin-bottom: 0.5em; /* Space between buttons */
    width: 100%; /* Make buttons full width of their container */
    text-align: left;
    padding-left: 0.8em;
    font-weight: 500; /* Consistent button font weight */
}

/* Ensure dashboard actions buttons are styled well */
.dashboard-actions {
    margin-bottom: 2em;
}
.dashboard-actions .btn-accent { /* e.g. Create New Gallery */
    padding: 0.7em 1.5em;
    font-size: 1em;
}

/* Ensure Font Awesome icons have a little space if used with text */
.btn .fas.mr-1, .btn .far.mr-1, .btn .fab.mr-1 {
    margin-right: 0.35rem;
}
