/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Navbar Styles (Custom) */
nav {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

/* Footer Styles (Custom) */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Dashboard Styles (Custom) */
.dashboard {
    padding: 20px;
    margin-bottom: 60px; /* Add space for the footer */
}

/* Form Styles (Custom) */
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden; /* Prevent form content from overflowing */
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form textarea {
    resize: vertical;
    height: 100px;
}

/* Error Messages (Custom) */
.errors {
    background-color: #fe2727;
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.errors ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Table Styles (Custom) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #333;
    color: #fff;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

/* No Data Message (Custom) */
td[colspan] {
    text-align: center;
    font-style: italic;
    color: #888;
}

/* Responsive Design (Custom) */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
    }

    .dashboard {
        padding: 10px;
    }

    form {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    form input[type="text"],
    form input[type="email"],
    form input[type="password"],
    form textarea {
        padding: 8px;
    }

    form button {
        padding: 8px 16px;
    }
}

/* Custom Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .btn {
    margin: 10px;
    padding: 10px 20px;
    font-size: 1rem;
}

/* Custom Features Section */
.features {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.feature-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.feature {
    flex: 1;
    max-width: 300px;
    margin: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1rem;
    color: #666;
}

/* Custom How It Works Section */
.how-it-works {
    padding: 60px 20px;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    max-width: 300px;
    margin: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step p {
    font-size: 1rem;
    color: #666;
}

/* Custom Testimonials Section */
.testimonials {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.testimonial-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.testimonial {
    flex: 1;
    max-width: 400px;
    margin: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
}

.testimonial cite {
    font-size: 1rem;
    color: #666;
}

/* Custom Call to Action Section */
.cta {
    padding: 60px 20px;
    text-align: center;
    background: #007bff;
    color: #fff;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta .btn {
    background: #fff;
    color: #007bff;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
}

/* styles/user.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input[type="text"],
form input[type="number"],
form input[type="password"],
form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

form button:hover {
    background-color: #555;
}

.login-button {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    background-color: rgb(0, 128, 255);
    color: white; /* Set text color to white */
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.success-message {
    color: #048c22;
    margin-bottom: 15px;
}

.error-message {
    color: #fe2727;
    margin-bottom: 15px;
}

/* Notification Styles */
.notification-dropdown {
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 0.75rem 1.25rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.notification-item.unread {
    border-left-color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.unread-badge {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%;
    margin-left: 10px;
    align-self: center;
}

/* Bell animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.fa-bell.has-unread {
    animation: pulse 1s infinite;
    color: #ffc107;
}