/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #222;
}

h3 {
    font-size: 1.5rem;
    color: #222;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Header Styles */
header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #2e7d32;
    font-family: 'Playfair Display', Georgia, serif;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #1b5e20;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2e7d32;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #2e7d32;
}

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

.register-btn {
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.register-btn:hover {
    background-color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 125, 50, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links {
        margin: 1rem 0;
        gap: 1rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Banner Section */
.banner-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/id/152/1200/500');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.banner-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.banner-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 2rem;
}

.primary-btn {
    background-color: #fff;
    color: #222;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background-color: #f0f0f0;
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #222;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Plant Categories Section */
.plant-categories-section {
    padding: 4rem 0;
}

.plant-categories-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.plant-categories-section p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #666;
}

.plant-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.guide-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    margin-bottom: 40px;
}

.community-section {
    padding: 60px 20px;
    background-color: #f0f9f4;
    margin-bottom: 40px;
}

.guide-section h2, .community-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2e7d32;
}

.guide-section p, .community-section p {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.category {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid #2e7d32;
    position: relative;
    padding: 0 !important;
}

#guide .category {
    display: flex;
    flex-direction: column;
    padding: 0;
}

#guide .category .category-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#guide .category h3 {
    margin-bottom: 0.75rem;
    color: #222;
    font-size: 1.25rem;
}

#guide .category p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.95rem;
    flex-grow: 1;
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #2e7d32;
}

.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0;
    border-radius: 0;
}

.category-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category h3 {
    margin-bottom: 0.75rem;
    color: #222;
    font-size: 1.25rem;
}

.category p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.95rem;
    flex-grow: 1;
}

.view-btn {
    background-color: #2e7d32 !important;
    color: white !important;
    border: 2px solid #2e7d32 !important;
    padding: 14px 24px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: block !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    width: 100% !important;
    font-size: 1.05rem !important;
    box-shadow: 0 3px 8px rgba(46, 125, 50, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    z-index: 10 !important;
}

.view-btn:hover {
    background-color: #1b5e20 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4) !important;
    border-color: #1b5e20 !important;
}

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

.post {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.post h3 {
    margin-bottom: 10px;
    color: #2e7d32;
}

.post .author {
    margin-top: 15px;
    font-style: italic;
    color: #666;
}

footer {
    background-color: #2e7d32;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

/* Post Detail Page Styles */
.post-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.post-detail-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.post-detail-content {
    margin-bottom: 3rem;
}

.post-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    max-height: 400px;
    object-fit: cover;
}

.post-tags {
    margin: 1.5rem 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.post-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.action-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: #f8f9fa;
}

.comments-section {
    margin-bottom: 3rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 1rem;
    resize: vertical;
}

.comments-list {
    margin-top: 2rem;
}

.comment {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 500;
    color: #2d4a39;
}

.comment-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.reply-btn {
    background: none;
    border: none;
    color: #4CAF50;
    cursor: pointer;
    padding: 0.3rem 0;
    margin-top: 0.5rem;
}

.reply-btn:hover {
    text-decoration: underline;
}

.related-posts {
    margin-top: 3rem;
}

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

.related-post {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* New Discussion Page Styles */
.new-discussion-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.new-discussion-container textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.community-guidelines {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f0f7f1;
    border-radius: 8px;
}

.community-guidelines ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.community-guidelines li {
    margin-bottom: 0.5rem;
}

/* Category Page Styles */
.category-header {
    text-align: center;
    margin: 2rem 0;
}

.category-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.sort-options select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.view-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background-color: white;
    margin-left: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.category-posts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.category-posts.list .category-post {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.category-posts.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.category-posts.grid .category-post {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-stats {
    display: flex;
    gap: 1rem;
    color: #6c757d;
}

.category-post h3 a {
    color: #2d4a39;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-post h3 a:hover {
    color: #4CAF50;
}



@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav a {
        margin: 0.5rem;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
        order: -1;
    }
    
    .features-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plant-categories {
        grid-template-columns: 1fr;
    }
    
    .community-posts {
        grid-template-columns: 1fr;
    }
}

/* New Pages Specific Styles */

/* Navigation Active State */
nav a.active {
    color: #2e7d32;
    font-weight: bold;
    position: relative;
}

/* Register button active state - keep text white */
.register-btn.active {
    background-color: #1b5e20;
    color: white;
    font-weight: bold;
    position: relative;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
}

/* Community Page Styles */
.community-header {
    text-align: center;
    margin: 2rem 0;
}

.discussion-categories {
    margin: 2rem 0;
}

.category-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.category-tab {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: inherit;
    text-decoration: none;
}

.category-tab:hover {
    background-color: #e9ecef;
}

.category-tab.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.community-posts-list {
    max-width: 1200px;
    margin: 0 auto;
}

.community-post {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.post-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.post-author {
    color: #495057;
    font-weight: 500;
}

.post-actions {
    display: flex;
    gap: 1rem;
}

.like-btn, .comment-btn, .share-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.like-btn:hover, .comment-btn:hover, .share-btn:hover {
    background-color: #f8f9fa;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background-color: #f8f9fa;
}

.page-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

/* Guide Page Styles */
.guide-header {
    text-align: center;
    margin: 2rem 0;
}

.search-bar {
    display: flex;
    max-width: 600px;
    margin: 1.5rem auto;
}

.search-bar input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.plant-categories-section {
    margin: 3rem 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guide-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.guide-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.guide-card h4 {
    padding: 1rem;
    margin: 0;
}

.guide-card p {
    padding: 0 1rem 1rem;
    margin: 0;
    color: #6c757d;
}

.read-more {
    display: inline-block;
    margin: 0 1rem 1rem;
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

.common-problems {
    margin: 3rem 0;
}

.problems-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.problem-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.problem-item h4 {
    margin: 0 0 0.5rem;
    color: #2d4a39;
}

/* Register and Login Page Styles */
.register-container, .login-container {
    display: flex;
    max-width: 1200px;
    margin: 3rem auto;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.register-form, .login-form {
    flex: 1;
    padding: 3rem;
}

.register-image, .login-image {
    flex: 1;
    background-color: #f8faf6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.register-illustration, .login-illustration {
    width: 250px;
    height: 250px;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d4a39;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.form-group.checkbox label {
    flex: 1;
    margin-bottom: 0;
}

.register-submit, .login-submit {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.login-link, .register-link {
    margin-top: 2rem;
    text-align: center;
}

.login-link a, .register-link a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover, .register-link a:hover {
    text-decoration: underline;
}

.benefits-list {
    max-width: 300px;
}

.benefits-list h3 {
    color: #2d4a39;
    margin-bottom: 1rem;
}

.benefits-list ul {
    list-style-type: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.benefits-list li:before {
    content: '•';
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.forgot-password {
    color: #4CAF50;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Explore Page Styles */
.explore-header {
    text-align: center;
    margin: 2rem 0;
}

.plant-finder {
    margin: 3rem 0;
}

.finder-filters {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d4a39;
}

.filter-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.filter-btn {
    align-self: flex-end;
    padding: 0.8rem 2rem;
}

.featured-plants {
    margin: 3rem 0;
}

.plants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.plant-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.plant-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.plant-info {
    padding: 1.5rem;
}

.plant-info h4 {
    margin: 0 0 1rem;
    color: #2d4a39;
}

.plant-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tag.difficulty {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.tag.light {
    background-color: #fff8e1;
    color: #ff8f00;
}

.tag.water {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.plant-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.plant-collections {
    margin: 3rem 0;
}

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

.collection-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.collection-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.collection-card h4 {
    padding: 1rem;
    margin: 0;
    color: #2d4a39;
}

.collection-card p {
    padding: 0 1rem 1.5rem;
    margin: 0;
    color: #6c757d;
}

/* Responsive adjustments for new pages */
@media (max-width: 992px) {
    .register-container, .login-container {
        flex-direction: column;
    }
    
    .register-image, .login-image {
        order: -1;
    }
}