/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Navbar */
.navbar {
    background-color: #333;
    padding: 1rem;
    width: 100%;
    position: fixed; /* Make the navbar fixed */
    top: 0;
    left: 0;
    z-index: 10; /* Ensure navbar is on top of other content */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.navbar .nav-links li {
    list-style: none;
}

.navbar .nav-links li a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.4rem;
    transition: background 0.3s;
    font-size: 1rem;
}

.navbar .nav-links li a:hover {
    background-color: #45a049;
}
.btn {
    padding: 10px 15px;
    background: #28a745;
    color: white;
    border: none;
    cursor: pointer;
}
/* Profile Display Section */
.profile-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.profile-details img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.profile-details p {
    font-size: 16px;
    margin: 5px 0;
}

.profile-details strong {
    color: #333;
}

/* Update Profile Section */
.profile-update-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-update-form input[type="text"],
.profile-update-form input[type="file"],
.profile-update-form button {
    width: 20% 50%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.profile-update-form input[type="text"]:focus,
.profile-update-form input[type="file"]:focus {
    border-color: #66afe9;
    outline: none;
}

.profile-update-form button {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.profile-update-form button:hover {
    background-color: #45a049;
}


/* Forms */
.form-container {
    width: 100%;
    max-width: 500px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #333;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

textarea {
    height: 100px;
    resize: vertical;
}

/* Button */
button {
    background-color: #4CAF50;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    width: 100%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}
/* Style for the gender label and dropdown */
label[for="gender"] {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
    color: #333;
}

select[name="gender"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    color: #333;
}

/* Style the select on focus */
select[name="gender"]:focus {
    border-color: #5e72e4;
    outline: none;
    background-color: #fff;
}

/* Custom style for the options */
select[name="gender"] option {
    padding: 10px;
    font-size: 16px;
}

/* Hover effect */
select[name="gender"]:hover {
    border-color: #5e72e4;
}

/* Style the placeholder text */
select[name="gender"] option:checked {
    background-color: #f0f0f0;
    color: #555;
}



/* FontAwesome Icons */
.quick-links-section .dashboard ul li a i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quick-links-section .dashboard ul {
        flex-direction: column;
        align-items: center;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}


/* Footer styles */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 20px;
    font-family: Arial, sans-serif;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px; /* Space between items for responsiveness */
    text-align: center;
}

/* Footer Links */
.footer a {
    color: #4CAF50;
    margin: 0 0.5rem;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Container to hold all the content */
.content-wrapper {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}


/* Responsive Styling */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    form {
        width: 90%;
        padding: 20px;
    }

    .navbar .logo {
        font-size: 1.5rem;
    }

    .navbar .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-item {
        padding: 1rem;
        text-align: center;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .container {
        width: 90%;
        padding: 20px;
    }
}
