/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Checklist Container */
.checklist-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.7); /* Slight transparency */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* Individual Checklist Item */
.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
}

.checklist-item label {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1em;
    color: #333;
    max-width: 200px;
}
/* Welcome message Styling */
.welcome-message {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2em;
    color: white;
    background-color: rgba(0, 123, 184, 0.7); /* Light background for text contrast */
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}


/* Label Overrides */
form label[for="driverName"],
form label[for="Mileage"],
form label[for="licensePlate"] {
    color: red !important;
    font-weight: bold;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #e0f7fa;
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;

}

/* License Plate Input */
#licensePlate {
    width: 40%;
    max-width: 200px;
    padding: 6px;
    font-size: 0.9em;
}

#licensePlate:hover {
    background-color: #ffffff;
}

/* Header Styling */
.header {
    text-align: center;
    background-color: rgba(0, 123, 184, 0.7);
    color: white;
    padding: 20px;
}
/* Placeholder styling */
textarea::placeholder {
    font-style: italic;
    color: #007bb8;
}
/* Increase the size of the textarea */
textarea {
    width: 80%; /* Adjust width to your preference */
    max-width: 600px; /* Set a maximum width */
    height: 100px; /* Increase height */
    padding: 15px; /* Add more padding for spacing */
    font-size: 1.2em; /* Increase font size for better readability */
    border: 1px solid #007bb8;
    border-radius: 8px;
    background-color: #f2f2f2;
    color: #007bb8;
     resize: none; /* Allow resizing */
}

/* Form Inputs */
input[type="text"] {
    width: 50%;
    max-width: 300px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #007bb8;
    border-radius: 4px;
    font-size: 1.1em;
    color: #007bb8;
    background-color: #f2f2f2;
}

input[type="text"]::placeholder {
    color: #007bb8;
    font-style: italic;
}
/* Form Container */
.form-container {
  width: 100%;
  max-width: max;
  margin: 20px auto;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bb8;
    color: white;
    padding: 10px 20px;
    font-size: 1.2em;
    border-radius: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: pop-up 0.6s forwards;
}

/* Pop-up Animation */
@keyframes pop-up {
    0% {
        transform: translate(-50%, 30px);
        opacity: 0;
    }
    60% {
        transform: translate(-50%, 10px);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -10px);
        opacity: 1;
    }
}

/* Disappearing Animation */
@keyframes disappear {
    0% {
        opacity: 1;
        transform: translate(-50%, -10px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -30px);
    }
}

.notification.hide {
    animation: disappear 1s forwards;
}

/* Submit Button */
.big-submit {
    width: 50%;
    max-width: 200px;
    padding: 10px;
    background-color: #007bb8;
    color: white;
    font-size: 1.1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.big-submit:hover {
    background-color: #005f87;
}

/* Footer */
.footer {
    background-color: rgba(0, 123, 184, 0.7);
    color: white;
    text-align: center;
    padding: 20px 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    z-index: 10;
}

.social-icons {
  display: flex;
  gap: 15px; /* Adds spacing between icons */
  align-items: center;
}

.social-icons a {
  font-size: 24px; /* Increase icon size */
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px; /* Adds spacing between the icon and text */
}

.social-icons i {
  font-size: 30px; /* Increase the icon size */
}

/* Apply original platform colors */
.social-icons .fa-facebook-f {
  color: #1877F2;
}

.social-icons .fa-instagram {
  color: #E4405F;
}

.social-icons .fa-x-twitter {
  color: #000000;
}
