/* 
F3V3R DR34M KEYGEN STYLE COMMENT: 
ULTIMATE CSS STYLESHEET FOR MAXIMUM RENTAL DOMINATION
CODED WITH THE POWER OF 1337 H4X0R DESIGN SKILLS
*/

:root {
    --primary-color: #78d9a7;
    --secondary-color: #cae9d9;
    --text-color: #333;
    --background-color: #f4f4f4;
    --white: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

#app {
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Navigation Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.login, .signup {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.signup {
    background-color: var(--primary-color);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content Sections */
main {
    padding-top: 80px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.search-input {
    flex-grow: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px 0 0 25px;
}

.search-button {
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}

/* Features Section */
.features, .popular-categories, .featured-items, .testimonials {
    padding: 4rem 5%;
    text-align: center;
}

.features h2, .popular-categories h2, .featured-items h2, .testimonials h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.feature-grid {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.feature-item {
    flex: 1;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 12px var(--shadow-color);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Categories Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.category-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 12px var(--shadow-color);
    cursor: pointer;
}

.category-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-item:hover {
    transform: translateY(-10px);
}

/* Featured Items */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.featured-item {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 12px var(--shadow-color);
}

.featured-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.featured-item .item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.rent-button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 12px var(--shadow-color);
}

.testimonial-footer {
    margin-top: 1rem;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a, .social-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 1rem;
}

.copyright {
    text-align: center;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Contact Section Styles */
.contact {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2em;
    color: #4CAF50;
    margin-bottom: 15px;
}

.contact-item h3 {
    margin: 10px 0;
    color: #333;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #45a049;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem;
        box-shadow: 0 2px 10px var(--shadow-color);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .feature-grid, .category-grid, .items-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* How It Works Page Styles */
.how-it-works-page .process-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.process-steps {
    padding: 4rem 5%;
    background-color: var(--background-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    background-color: var(--white);
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 6px 12px var(--shadow-color);
    position: relative;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.step-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.safety-guarantees {
    padding: 4rem 5%;
    background-color: var(--white);
    text-align: center;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.guarantee-item {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.guarantee-item:hover {
    transform: scale(1.05);
}

.guarantee-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive adjustments for How It Works page */
@media (max-width: 768px) {
    .steps-grid, .guarantees-grid {
        grid-template-columns: 1fr;
    }
}

/* Authentication Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    padding: 20px;
}

.auth-wrapper {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.auth-forms {
    position: relative;
}

.form-container {
    padding: 40px;
}

.register-container {
    display: none;
}

.auth-forms h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.input-group input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-color: #4CAF50;
    outline: none;
}

.auth-button {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.auth-button:hover {
    background: #45a049;
}

.toggle-form {
    text-align: center;
    margin-top: 20px;
}

.toggle-form a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
}

.toggle-form a:hover {
    text-decoration: underline;
}

.back-to-home {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.back-to-home i {
    font-size: 20px;
}

.auth-message {
    padding: 15px;
    margin: 10px;
    border-radius: 5px;
    text-align: center;
    animation: slideDown 0.3s ease;
}

.auth-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.auth-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.auth-message i {
    margin-right: 8px;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design for Auth */
@media (max-width: 480px) {
    .auth-wrapper {
        margin: 10px;
    }

    .form-container {
        padding: 20px;
    }

    .auth-forms h2 {
        font-size: 1.5em;
    }
}

/* Contact Page Styles */
.contact-page {
    padding-top: 80px;
}

.contact-hero {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.contact-hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.faq-section {
    padding: 60px 20px;
    background: white;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: #4CAF50;
    margin-bottom: 15px;
}

.success-message {
    background: #4CAF50;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    animation: slideIn 0.5s ease;
}

.success-message i {
    font-size: 2em;
    margin-bottom: 10px;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 2em;
    }

    .contact-hero p {
        font-size: 1em;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Options */
.contact-options {
    padding: 60px 20px;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon i {
    font-size: 30px;
    color: white;
}

.contact-card h3 {
    margin: 15px 0;
    color: #333;
}

.contact-card p {
    color: #666;
    margin-bottom: 20px;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
    cursor: pointer;
}

.contact-button:hover {
    background: #45a049;
}

/* Enhanced Form */
.enhanced-form {
    max-width: 600px;
    margin: 0 auto;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.textarea-container i {
    top: 25px;
}

.input-with-icon textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

/* Office Section */
.office-section {
    padding: 60px 20px;
    background: white;
}

.office-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.office-info {
    padding: 20px;
}

.office-info h2 {
    color: #333;
    margin-bottom: 20px;
}

.office-info address {
    font-style: normal;
    margin: 20px 0;
    line-height: 1.6;
}

.office-info i {
    color: #4CAF50;
    margin-right: 10px;
}

.office-hours {
    margin-top: 30px;
}

.office-hours h3 {
    color: #333;
    margin-bottom: 10px;
}

.office-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .office-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        margin: 0 10px;
    }

    .form-container {
        margin: 0 10px;
    }
}

/* Legal Pages (Terms & Privacy) */
.legal-page {
    padding-top: 80px;
}

.legal-hero {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.legal-hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.legal-hero p {
    opacity: 0.9;
}

.legal-content {
    padding: 60px 20px;
    background: #f8f9fa;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.legal-container h2 {
    color: #333;
    margin: 30px 0 15px;
    font-size: 1.5em;
}

.legal-container p {
    margin: 15px 0;
    line-height: 1.6;
    color: #666;
}

.legal-container ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-container li {
    margin: 10px 0;
    color: #666;
    line-height: 1.6;
}

/* Help Page */
.help-page {
    padding-top: 80px;
}

.help-hero {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.help-hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.help-search {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    gap: 10px;
}

.help-search input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.help-search button {
    padding: 15px 25px;
    background: #45a049;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.help-search button:hover {
    background: #3d8b40;
}

.help-content {
    padding: 60px 20px;
    background: #f8f9fa;
}

.help-container {
    max-width: 1200px;
    margin: 0 auto;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.help-category {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.category-icon i {
    font-size: 24px;
    color: white;
}

.help-category h2 {
    color: #333;
    margin-bottom: 20px;
}

.help-items {
    margin-top: 20px;
}

.help-item {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.help-item h3 {
    color: #4CAF50;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.help-item p {
    color: #666;
    line-height: 1.6;
}

.help-contact {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.help-contact h2 {
    color: #333;
    margin-bottom: 15px;
}

.help-contact p {
    color: #666;
    margin-bottom: 30px;
}

.help-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.help-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.help-button:hover {
    background: #45a049;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-container {
        padding: 20px;
        margin: 0 10px;
    }

    .help-categories {
        grid-template-columns: 1fr;
    }

    .help-category {
        margin: 0 10px;
    }

    .help-contact {
        margin: 0 10px;
    }

    .help-buttons {
        flex-direction: column;
    }

    .help-hero h1 {
        font-size: 2em;
    }

    .help-search {
        flex-direction: column;
        padding: 0 20px;
    }

    .help-search button {
        width: 100%;
    }
}

/* Profile Page Styles */
.profile-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.profile-hero {
    position: relative;
    width: 100%;
    height: 300px; /* Increased height */
    overflow: hidden;
}

.profile-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.profile-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

.profile-header {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    padding: 0 20px;
    color: white;
}

.profile-avatar {
    position: relative;
    margin-right: 20px;
}

.profile-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
}

.edit-avatar {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.profile-info {
    flex-grow: 1;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.profile-info h1 {
    margin: 0 0 10px 0;
    font-size: 2em;
}

.profile-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.profile-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-stats .stat span {
    font-size: 1.2em;
    font-weight: bold;
}

.edit-profile-btn {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-profile-btn:hover {
    background-color: rgba(255,255,255,0.3);
}

.edit-cover {
    z-index: 10;
}

.profile-content {
    margin-top: 200px; /* Adjust based on hero section height */
    padding: 0 20px;
}

.profile-sidebar {
    width: 250px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .profile-content {
        flex-direction: column;
    }

    .profile-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (min-width: 769px) {
    .profile-sidebar {
        display: block !important;
    }
}

.profile-nav {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.profile-nav a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.profile-nav a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.profile-nav a.active {
    background: #4CAF50;
    color: white;
}

.profile-nav a:hover:not(.active) {
    background: #f8f9fa;
}

.badge {
    background: #f44336;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: auto;
}

.profile-completion {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-completion h3 {
    margin: 0 0 15px;
    color: #333;
}

.progress-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background: #4CAF50;
    transition: width 0.3s ease;
    position: relative;
}

.progress .percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    z-index: 10;
}

.completion-tasks {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.completion-tasks li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
}

.completion-tasks li i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.completion-tasks li.done {
    color: #4CAF50;
}

.completion-tasks li.done i {
    color: #4CAF50;
}

.profile-main {
    flex: 1;
}

.dashboard-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.dashboard-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card h3 {
    color: #666;
    margin: 0 0 15px;
    font-size: 16px;
}

.dashboard-card .amount {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px;
}

.trend {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trend.positive {
    color: #4CAF50;
}

.trend.negative {
    color: #f44336;
}

.rating {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 10px;
}

.rating span {
    color: #333;
    margin-left: 10px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.add-item-btn {
    padding: 8px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-item-btn:hover {
    background: #45a049;
}

.items-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.items-filters button {
    padding: 8px 15px;
    border: none;
    background: none;
    color: #666;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
}

.items-filters button.active {
    background: #4CAF50;
    color: white;
}

.items-filters button:hover:not(.active) {
    background: #f8f9fa;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
}

.image-upload-area {
    border: 2px dashed #ddd;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.image-upload-area:hover {
    border-color: #4CAF50;
    background: #f8f9fa;
}

.image-upload-area i {
    font-size: 40px;
    color: #666;
    margin-bottom: 10px;
}

.image-upload-area p {
    margin: 0 0 5px;
    color: #333;
}

.image-upload-area span {
    color: #666;
    font-size: 14px;
}

.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.image-preview img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.form-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.cancel-btn {
    padding: 10px 20px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.cancel-btn:hover {
    background: #f8f9fa;
}

.save-btn {
    padding: 10px 20px;
    background: #4CAF50;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.save-btn:hover {
    background: #45a049;
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-content {
        flex-direction: column;
    }

    .profile-sidebar {
        width: 100%;
    }

    .profile-nav {
        display: flex;
        flex-wrap: wrap;
    }

    .profile-nav a {
        flex: 1;
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -40px;
    }

    .profile-avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .profile-stats {
        justify-content: center;
    }

    .edit-profile-btn {
        position: static;
        margin-top: 20px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .items-filters {
        flex-wrap: wrap;
    }

    .items-filters button {
        flex: 1;
        min-width: 120px;
    }
}
