/* Import Fonts */
/* Import Gazpacho and Eina Regular */
@font-face {
    font-family: 'Gazpacho';
    src: url('{% static "fonts/gazpacho_regular.ttf" %}') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Eina Regular';
    src: url('{% static "fonts/eina_regular.ttf" %}') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Reset Styles */
/* Remove default margins, paddings, and set box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
/* General styles for the body */
body {
    font-family: 'Eina Regular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #FFFFFF;
    color: #333333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Header Styles */
/* Styling for the header and its elements */
header {
    background-color: #044b53;
    color: #FFFFFF;
    padding: 1rem;
    text-align: center;
    width: 100%;
}

header h1 {
    font-family: 'Gazpacho', sans-serif;
    font-size: 1.5rem; /* Default font size */
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

header h1:hover {
    color: #CCE5E5;
}

/* Footer Styles */
/* Styling for the footer */
footer {
    background-color: #044b53;
    color: #FFFFFF;
    text-align: center;
    padding: 0.5rem;
    margin-top: auto;
    font-size: 0.8rem; /* Default font size */
    width: 100%;
}



/* Style the green check icon */
.inside-check-icon {
    position: absolute;
    bottom: 5px; /* Adjust as needed */
    right: 5px;  /* Adjust as needed */
    color: green;
    font-size: 1em; /* Adjust size as needed */
    background: rgba(255, 255, 255, 0.7); /* Optional: add a background for better visibility */
    border-radius: 50%; /* Optional: make it circular */
    padding: 2px;
}
/* Container Styles */
/* General container styling */
.container {
    padding: 1rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Form Styles */
/* Styling for forms and form elements */
form {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 0; /* Flat design */
    border: none;
    width: 100%;
    max-width: 100%;
}

form p {
    margin-bottom: 1rem;
}

form label {
    font-weight: 500;
    display: block;
    margin-bottom: 0.3rem;
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form select {
    width: 100%;
    padding: 0.6rem 0;
    border: none;
    border-bottom: 2px solid #CCCCCC;
    border-radius: 0; /* Flat design */
    margin-top: 0.5rem;
    background-color: transparent;
    font-size: 1rem; /* Default font size */
}

form input[type="text"]:focus,
form input[type="password"]:focus,
form input[type="email"]:focus,
form select:focus {
    outline: none;
    border-bottom: 2px solid #044b53;
}

/* Button Styles */
/* Styling for buttons and submit inputs */
form input[type="submit"],
.button {
    background-color: #044b53;
    color: #FFFFFF;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 0; /* Flat design */
    cursor: pointer;
    font-size: 1rem; /* Default font size */
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    max-width: 100%;
}

form input[type="submit"]:hover,
.button:hover {
    background-color: #033a42;
    transform: translateY(-2px);
}

form input[type="submit"]:active,
.button:active {
    transform: translateY(0);
}

/* Link Styles */
/* Styling for anchor tags */
a {
    color: #044b53;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* List Styles */
/* Styling for unordered lists and list items */
ul {
    list-style-type: none;
}

li {
    background-color: #FFFFFF;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 0; /* Flat design */
    border: 1px solid #EEEEEE;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

li:last-child {
    border-bottom: none;
}

/* Navigation Bar Styles */
/* Styling for the navigation bar at the bottom */
.navbar {
    background-color: #044b53;
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: none; /* Flat design */
    z-index: 1000;
}

.navbar a {
    color: #FFFFFF;
    text-align: center;
    font-size: 1.2rem; /* Default font size */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.2s ease;
    padding: 0 0.5rem;
}

.navbar a:hover {
    color: #CCE5E5;
}

.navbar a .icon {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}

.navbar a svg {
    max-width: 24px;
    height: auto;
}

/* Modal Styles */
/* Styling for modal windows */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #FFFFFF;
    margin: 15% auto;
    padding: 1.5rem;
    border: none;
    width: 90%;
    max-width: 500px;
    border-radius: 0; /* Flat design */
    box-shadow: none; /* Prevent overflow issues */
}

/* Danger Button */
/* Styling for buttons that perform destructive actions */
.danger-button {
    background-color: #dc3545;
    color: white;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border: none;
    border-radius: 0; /* Flat design */
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-block;
    font-size: 1rem; /* Default font size */
}

.danger-button:hover {
    background-color: #c82333;
}

/* Confirmation Popup Styles */
/* Styling for confirmation popups */
.confirmation-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.confirmation-popup-content {
    background-color: #FFFFFF;
    margin: 15% auto;
    padding: 1.5rem;
    border: none;
    width: 90%;
    max-width: 400px;
    border-radius: 0; /* Flat design */
    text-align: center;
    box-shadow: none; /* Prevent overflow issues */
}

/* Carousel Styles */
/* Styling for carousel components */
.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    display: flex;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.unit-card {
    flex: 0 0 100%;
    max-width: 100%;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    padding: 1rem; /* Default padding */
    box-sizing: border-box;
    margin: 0;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.multiple-units {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

/* Plates Container */
/* Styling for the container holding plates */
.plates-container {
    overflow-y: visible;
    margin-top: 1rem;
    padding-right: 0.5rem;
}

/* Plates List */
/* Styling for the list of plates */
.plates-container ul {
    list-style-type: none;
    padding-left: 0;
    width: 100%;
}

.plates-container li {
    padding: 0.5rem 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: white;
    border-radius: 0.3rem; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 40%;
    max-width: 70%;
    margin: 0.5rem auto;
    height: 3rem;
    min-width: 150px;
}

.carousel-indicators {
    text-align: center;
    margin-top: 15px;
}

.carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: #044b53;
}

/* Toggle Buttons */
/* Styling for toggle buttons in the carousel */
.fas.fa-chevron-down,
.fas.fa-chevron-up {
    display: block;
    margin: 0 auto;
}

.toggle-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.toggle-plates-btn {
    background: none;
    border: none;
    color: #044b53;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-plates-btn i {
    margin-left: 0.5rem;
}

/* Plate Item Styles */
/* Styling for individual plate items */
.plate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background-color: white;
    border-radius: 0.3rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 60em;
    margin: 0.5rem auto;
    height: 3rem;
    position: relative;
}

/* Blue Section on Plate */
/* Styling for the blue section on the left side of a plate */
.blue-section {
    background-color: #003399;
    width: 40px;
    height: 100%;
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}



/* ... existing styles ... */

/* static/css/styles.css */

/* ... existing styles ... */

/* Update the color-section class */
.color-section {
    background-color: #003399; /* Default blue color */
    width: 2.5em;
    height: 100%;
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Apply gray color for buggy plates */
.plate-item.buggy .color-section {
    background-color: rgb(37, 37, 37);
}

/* Apply yellow color for temporary plates */
.color-section.temporary-color {
    background-color: #FFCE1B;
    color: #333333; /* Optional: change icon color if needed */
}



.color-section {
    position: relative; /* Make this relative so the absolute positioning in .remaining-time is relative to this */
}


.remaining-time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(44, 44, 44);
    font-size: clamp(12px, calc(0.5vw + 0.5vh), 36px); /* Min 12px, responsive size, max 36px */
    font-weight: 700; /* Set to a bolder weight */
    font-family: 'Quicksand', sans-serif; /* Rounded font */
    white-space: nowrap;
    -webkit-text-stroke: 0.5px black; /* Adds an outline to make the text appear thicker */
    overflow: hidden; /* Prevents overflow */
    max-width: 100%; /* Ensure the text doesn't exceed the div's width */
}





/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #FFFFFF;
    margin: 10% auto;
    padding: 1.5rem;
    border: none;
    width: 90%;
    max-width: 500px;
    border-radius: 0; /* Flat design */
    box-shadow: none; /* Prevent overflow issues */
}

/* Close Button */
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
}

/* Temporary Form Styles */
#temporaryForm label {
    font-weight: bold;
}

#temporaryForm input[type="text"],
#temporaryForm input[type="date"] {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Day Counter Styles */
#day-counter {
    font-weight: bold;
}

/* Button Styles (if not already present) */
.button {
    background-color: #044b53;
    color: #FFFFFF;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 0; /* Flat design */
    cursor: pointer;
    font-size: 1rem; /* Default font size */
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    max-width: 100%;
}

.button:hover {
    background-color: #033a42;
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

/* ... existing styles ... */


/* Style the buggy icon */
.buggy-icon {
    color: white;
    font-size: 1.5em; /* Adjust size as needed */
}

/* Plate Item Styles */
.plate-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background-color: white;
    border-radius: 0.3rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 60em;
    margin: 0.5rem auto;
    min-width: 450px;
}

/* Color Section */
.color-section {
    width: 2.5em;
    height: 100%;
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

/* Plate Item Styles */
.plate-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background-color: white;
    border-radius: 0.3rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 60em;
    margin: 0.5rem auto;
    min-width: 150px;
}

/* Color Section */
.color-section {
    width: 2.5em;
    height: 100%;
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

/* Plate Item Styles */
.plate-item {
    position: relative; /* Ensure relative positioning for child elements */
    display: flex; /* Use flexbox for horizontal layout */
    align-items: center; /* Vertically center items */
    padding: 0.5rem;
    background-color: white;
    border-radius: 0.3rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 60em;
    margin: 0.5rem auto;
    min-width: 150px;
}

/* Color Section */
.color-section {
    width: 2.5em;
    height: 100%;
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    background-color: #003399; /* Default blue color */
}

.color-section.temporary-color {
    background-color: #FFCE1B; /* Yellow for temporary plates */
    color: #333333;
}

/* Buggy Icon */
.buggy-icon {
    color: white;
    font-size: 1.5em; /* Adjust size as needed */
}

/* Default Icon */
.default-icon {
    width: 100%;
    height: auto;
    max-width: 20px;
    max-height: 20px;
    object-fit: contain;
}

/* Remaining Time */
.remaining-time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(44, 44, 44);
    font-size: clamp(12px, calc(0.5vw + 0.5vh), 36px);
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    white-space: nowrap;
    -webkit-text-stroke: 0.5px black;
    overflow: hidden;
    max-width: 100%;
}

/* Plate Content */
.plate-content {
    flex-grow: 1; /* Takes up remaining space */
    padding-left: 1rem;
    font-size: 1.2rem;
    color: #333;
    display: flex;
    align-items: center;
}

/* Plate Icons Container */
.plate-icons {
    display: flex; /* Arrange icons horizontally */
    align-items: center; /* Vertically center icons */
    gap: 0.5rem; /* Space between tick and delete icons */
    margin-left: auto; /* Pushes the icons to the far right */
}

/* Inside Check Icon Styles */
.inside-check-icon {
    color: green;
    font-size: 1.2em; /* Adjust size as needed */
}

/* Plate Item Styles */
.plate-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background-color: white;
    border-radius: 0.3rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 60em;
    margin: 0.5rem auto;
    min-width: 150px;
}

/* Color Section */
.color-section {
    width: 2.5em;
    height: 100%;
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    background-color: #003399; /* Default blue color */
}

.color-section.temporary-color {
    background-color: #FFCE1B; /* Yellow for temporary plates */
    color: #333333;
}

/* Buggy Icon */
.buggy-icon {
    color: white;
    font-size: 1.5em; /* Adjust size as needed */
}

/* Default Icon */
.default-icon {
    width: 100%;
    height: auto;
    max-width: 20px;
    max-height: 20px;
    object-fit: contain;
}

/* Remaining Time */
.remaining-time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(44, 44, 44);
    font-size: clamp(12px, calc(0.5vw + 0.5vh), 36px);
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    white-space: nowrap;
    -webkit-text-stroke: 0.5px black;
    overflow: hidden;
    max-width: 100%;
}

/* Plate Content */
.plate-content {
    flex-grow: 1;
    padding-left: 1rem;
    font-size: 1.2rem;
    color: #333;
    display: flex;
    align-items: center;
}

/* Plate Icons Container */
.plate-icons {
    display: flex;
    align-items: center;
    gap: 0rem; /* Space between tick and delete icons */
    margin-left: auto; /* Pushes the icons to the far right */
}

/* Inside Check Icon Styles */
.inside-check-icon {
    color: green;
    font-size: 1.2em; /* Adjust size as needed */
    position: static; /* Ensure it's in the normal flow */
}



/* Delete Button for Plates */
/* Styling for the delete button on plates */
.delete-plate-btn {
    background-color: rgba(0, 0, 0, 0);
    color: #dc3545;
    border: none;
    padding: 0.5rem;
    border-top-right-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2.5em;
}
.delete-plate-btn:hover {
    background-color: #c82333;
    color: white;
}

.delete-plate-btn:active {
    transform: scale(0.98);
}

/* Adjust icon sizes within buttons */
.delete-plate-btn i,
.inside-check-icon {
    font-size: 1.2em; /* Ensures consistent sizing */
}

/* Responsive Adjustments */
/* Responsive Styles */
@media (max-width: 600px) {
    .plates-container li {
        width: 90%; /* Make plates wider on small screens */
        max-width: 100%; /* Ensure it does not exceed screen width */
        margin: 0.5rem auto; /* Center the plate item */
        font-size: 0.9rem; /* Optional: Adjust font size for readability */
        height: auto; /* Adjust height to accommodate more content */
    }
    
    .plate-content {
        font-size: 1rem;
    }

    .inside-check-icon,
    .delete-plate-btn i {
        font-size: 1em;
    }

    .plate-icons {
        gap: 0.5rem;
    }
}





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

/* Resize the default icon to fit its container */
.default-icon {
    width: 100%;          /* Make the icon fill the container width */
    height: auto;         /* Maintain aspect ratio */
    max-width: 20px;      /* Optional: limit maximum width for consistency */
    max-height: 20px;     /* Optional: limit maximum height for consistency */
    object-fit: contain;  /* Ensure the entire image fits within the bounds */
}

.delete-plate-btn:active {
    transform: scale(0.98);
}

/* Carousel Navigation Buttons */
/* Styling for the previous and next buttons in the carousel */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px; /* Default padding */
    cursor: pointer;
    border-radius: 50%;
    z-index: 1001;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.carousel-button:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Settings Container */
/* Styling for settings items container */
.settings-container {
    background-color: #ffffff;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Settings Item */
/* Styling for individual settings items */
.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem; /* Default padding */
    font-size: 1.1rem; /* Default font size */
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
}

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

/* Hover effect for settings items */
.settings-item:hover {
    background-color: #f9f9f9;
    color: #044b53;
}

/* Arrow icon styling */
.settings-item i {
    color: #bbb;
    transition: color 0.2s ease;
}

.settings-item:hover i {
    color: #044b53;
}

/* Secondary Accounts Container */
/* Styling for the container of secondary accounts */
.secondary-accounts-container {
    background-color: #ffffff;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Secondary Account Item */
/* Styling for individual secondary account items */
.secondary-account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem; /* Default padding */
    font-size: 1.1rem; /* Default font size */
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
    width: 100%;
}

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

.secondary-account-item:hover {
    background-color: #f9f9f9;
}

/* Delete Button for Secondary User */
/* Styling for the delete button in secondary accounts */
.delete-secondary-user-btn {
    background-color: rgba(0, 0, 0, 0);
    color: #dc3545;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-block;
    transition: background-color 0.2s ease;
}

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

/* Add Secondary User */
/* Styling for the add secondary user section */
.add-secondary-user .settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem; /* Default padding */
    font-size: 1.1rem; /* Default font size */
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
    width: 100%;
}

.add-secondary-user .settings-item:hover {
    background-color: #f9f9f9;
    color: #044b53;
}

.add-secondary-user i {
    color: #bbb;
}

.add-secondary-user .settings-item:hover i {
    color: #044b53;
}

/* Box Styles */
/* General styling for boxes */
.box {
    flex: 1;
    min-height: 150px;
    padding: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.box p {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Styles */
/* Adjustments for small screens */
@media (max-width: 600px) {
    .settings-item {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .settings-container {
        width: 100%;
        box-shadow: none;
    }

    .carousel-wrapper {
        max-width: 100%;
    }

    .unit-card {
        padding: 0.75rem;
    }

    .delete-plate-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }

    .plates-container li {
        font-size: 0.9rem;
        height: 2.5rem;
    }

    .blue-section {
        width: 30px;
    }

    /* Adjust navbar icon size */
    .navbar a .icon svg {
        width: 20px;
        height: 20px;
    }

    /* Adjust header font size */
    header h1 {
        font-size: 1.2rem;
    }

    /* Adjust footer font size */
    footer {
        font-size: 0.7rem;
    }

    /* Adjust carousel button size */
    .carousel-button {
        padding: 8px;
    }
}

/* Adjustments for medium screens */
@media (min-width: 600px) and (max-width: 1023px) {
    .container {
        padding: 2rem;
    }

    form input[type="text"],
    form input[type="password"],
    form input[type="email"],
    form select {
        font-size: 1.1rem;
    }

    form input[type="submit"],
    .button {
        font-size: 1.1rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .navbar a {
        font-size: 1rem;
    }

    /* Carousel Navigation Buttons for medium screens */
    .carousel-button {
        padding: 12px;
    }
}

/* Adjustments for large screens */
@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    footer {
        font-size: 1rem;
    }

    .unit-card {
        padding: 1.5rem;
    }

    .delete-plate-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Increase carousel navigation button size on larger screens */
    .carousel-button {
        padding: 16px;
    }
}

/* Additional Styles */
/* Smooth transition for unit cards */
.unit-card {
    transition: transform 0.3s ease-in-out;
}

/* Spacing between Add Plate button and plates list */
.unit-card .button {
    margin-top: 1rem;
}

/* Delete button visibility on hover */
.unit-card:hover .delete-plate-btn {
    display: inline-block;
}

/* Responsive Flexbox for Settings and Secondary Accounts */
.settings-container,
.secondary-accounts-container {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .settings-container,
    .secondary-accounts-container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .settings-item,
    .secondary-account-item {
        width: 100%;
    }
}
