* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #222;
    line-height: 1.6;
}

.main-header {
    background: #0b3fb3;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 6%;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.navbar {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    text-decoration: underline;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.header-actions input {
    width: 220px;
    padding: 10px 12px;
    border: none;
    border-radius: 5px;
    outline: none;
}

.sell-btn {
    background: #ffb400;
    color: #111;
    padding: 10px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e8f0ff, #ffffff);
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 15px;
    color: #0b3fb3;
}

.hero p {
    font-size: 21px;
    margin-bottom: 28px;
    color: #555;
}

.primary-btn {
    display: inline-block;
    background: #0b3fb3;
    color: white;
    padding: 13px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.primary-btn:hover {
    background: #082f87;
}

.section {
    padding: 65px 6%;
}

.section h2 {
    text-align: center;
    font-size: 34px;
    margin-bottom: 35px;
    color: #0b3fb3;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.products-section {
    background: #eef2f7;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dfe8f7;
    font-size: 80px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 23px;
    margin-bottom: 8px;
}

.price {
    color: #0b3fb3;
    font-size: 21px;
    font-weight: bold;
}

.location {
    color: #666;
    margin: 8px 0 16px;
}

.details-btn {
    width: 100%;
    background: #0b3fb3;
    color: white;
    border: none;
    padding: 11px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.details-btn:hover {
    background: #082f87;
}

.about-section,
.contact-section {
    text-align: center;
    background: white;
}

.about-section p,
.contact-section p {
    max-width: 700px;
    margin: auto;
    font-size: 18px;
    color: #555;
}

.footer {
    background: #061f5c;
    color: white;
    text-align: center;
    padding: 22px;
}

@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-header {
        justify-content: center;
    }

    .hero h1 {
        font-size: 42px;
    }
}

@media (max-width: 600px) {
    .navbar {
        justify-content: center;
        gap: 14px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .header-actions input {
        width: 100%;
        max-width: 300px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 350px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 18px;
    }

    .section {
        padding: 50px 20px;
    }
}.form-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    background: linear-gradient(135deg, #e8f0ff, #f7f9fc);
}

.form-card {
    width: 100%;
    max-width: 450px;
    background: white;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.form-card h1 {
    text-align: center;
    color: #0b3fb3;
    margin-bottom: 5px;
}

.form-card > p {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}

.form-card form {
    display: flex;
    flex-direction: column;
}

.form-card label {
    font-weight: bold;
    margin: 10px 0 6px;
}

.form-card input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccd3dd;
    border-radius: 6px;
    outline: none;
}

.form-card input:focus {
    border-color: #0b3fb3;
}

.form-btn {
    margin-top: 22px;
    background: #0b3fb3;
    color: white;
    border: none;
    padding: 13px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.form-btn:hover {
    background: #082f87;
}

.form-message {
    background: #eef4ff;
    color: #0b3fb3;
    border: 1px solid #c7d8ff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
}

.form-link {
    text-align: center;
    margin-top: 18px;
}

.form-link a {
    color: #0b3fb3;
    font-weight: bold;
    text-decoration: none;
}/* Add Product Page */

.product-form-container {
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.product-form-container h1 {
    text-align: center;
    color: #0a3f63;
    margin-bottom: 25px;
}

.product-form-container form {
    display: flex;
    flex-direction: column;
}

.product-form-container label {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 6px;
}

.product-form-container input,
.product-form-container select,
.product-form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 16px;
}

.product-form-container textarea {
    resize: vertical;
}

.product-form-container button {
    margin-top: 25px;
    padding: 13px;
    background: #0a3f63;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.product-form-container button:hover {
    background: #075080;
}

.form-message {
    text-align: center;
    background: #e7f7ec;
    color: green;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}/* Lolopopo Marketplace Homepage */

.market-header {
    background: #0a3f63;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 6%;
    flex-wrap: wrap;
}

.market-logo {
    font-size: 28px;
    font-weight: bold;
}

.market-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.market-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.market-nav a:hover {
    text-decoration: underline;
}

.market-hero {
    text-align: center;
    padding: 60px 20px;
    background: white;
}

.market-hero h1 {
    color: #0a3f63;
    font-size: 38px;
    margin-bottom: 12px;
}

.market-hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.hero-button {
    display: inline-block;
    background: #0a3f63;
    color: white;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 6px;
    font-weight: bold;
}

.products-section {
    padding: 45px 6%;
}

.products-section h2 {
    text-align: center;
    color: #0a3f63;
    margin-bottom: 30px;
    font-size: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(230px, 1fr)
    );
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card-content {
    padding: 18px;
}

.product-category {
    display: inline-block;
    background: #e5f2fa;
    color: #0a3f63;
    padding: 5px 9px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.product-price {
    color: #0a3f63;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-description {
    color: #555555;
    margin-bottom: 18px;
}

.view-product-button {
    display: inline-block;
    background: #0a3f63;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
}

.no-products {
    text-align: center;
    font-size: 18px;
}

.market-footer {
    text-align: center;
    background: #0a3f63;
    color: white;
    padding: 20px;
    margin-top: 40px;
}

@media (max-width: 600px) {
    .market-header {
        justify-content: center;
        gap: 15px;
    }

    .market-hero h1 {
        font-size: 29px;
    }
}/* Product Details Page */

.product-details-page {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.back-home-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.product-details-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.product-details-image-box {
    width: 100%;
}

.product-details-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

.product-details-content h1 {
    margin: 15px 0 10px;
    font-size: 32px;
}

.product-details-category {
    display: inline-block;
    background: #e8f0ff;
    color: #2563eb;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.product-details-price {
    font-size: 26px;
    font-weight: bold;
    color: #15803d;
    margin: 15px 0;
}

.product-description-box {
    margin-top: 25px;
}

.product-description-box h3 {
    margin-bottom: 10px;
}

.product-description-box p {
    line-height: 1.7;
    color: #444;
}

.product-details-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.contact-seller-btn,
.continue-shopping-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.contact-seller-btn {
    background: #2563eb;
    color: white;
}

.continue-shopping-btn {
    background: #e5e7eb;
    color: #111827;
}

@media (max-width: 768px) {
    .product-details-card {
        grid-template-columns: 1fr;
    }

    .product-details-image {
        height: 320px;
    }

    .product-details-actions {
        flex-direction: column;
    }
}.whatsapp-seller-btn {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 14px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.whatsapp-seller-btn:hover {
    background-color: #1ebe5d;
}.search-form {
    max-width: 700px;
    margin: 25px auto;
    padding: 0 20px;
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.search-form button {
    padding: 14px 28px;
    background: #1677ff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.search-form button:hover {
    background: #075fd8;
}

/* ==============================
   ADD PRODUCT PAGE
============================== */

.container form {
    max-width: 700px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

.container form label {
    display: block;
    margin-top: 18px;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 600;
}

.container form input,
.container form select,
.container form textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #cccccc;
    border-radius: 7px;
    box-sizing: border-box;
    outline: none;
}

.container form textarea {
    min-height: 120px;
    resize: vertical;
}

.container form input:focus,
.container form select:focus,
.container form textarea:focus {
    border-color: #1677ff;
}

.container form input[type="file"] {
    padding: 10px;
    background: #f8f9fa;
}

.container form button[type="submit"] {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    background: #1677ff;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.container form button[type="submit"]:hover {
    background: #0d5fd1;
}

.container > h2 {
    text-align: center;
    margin-top: 35px;
    font-size: 28px;
}/* Product Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

/* ================================
   LOLOPOPO DASHBOARD
================================ */

.dashboard-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.dashboard-welcome {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.dashboard-welcome h1 {
    margin-bottom: 10px;
    font-size: 32px;
}

.dashboard-welcome p {
    margin: 8px 0;
    font-size: 16px;
}

.dashboard-post-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 24px;
    background: #1677ff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.dashboard-post-btn:hover {
    background: #0d5fd1;
}


/* My Products */

.my-products-section {
    margin-top: 30px;
}

.my-products-section > h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.my-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.my-product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.my-product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.my-product-info {
    padding: 18px;
}

.product-category {
    display: inline-block;
    font-size: 13px;
    background: #eef5ff;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.my-product-info h3 {
    margin: 5px 0 10px;
    font-size: 20px;
}

.product-price {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 16px;
}


/* Edit + Delete */

.product-actions {
    display: flex;
    gap: 10px;
}

.edit-product-btn,
.delete-product-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 7px;
    font-weight: 600;
}

.edit-product-btn {
    background: #1677ff;
    color: white;
}

.delete-product-btn {
    background: #dc3545;
    color: white;
}

.edit-product-btn:hover {
    background: #0d5fd1;
}

.delete-product-btn:hover {
    background: #bb2d3b;
}


/* No Products */

.no-products {
    background: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
}

.no-products a {
    display: inline-block;
    margin-top: 12px;
    text-decoration: none;
    font-weight: 600;
}


/* Mobile */

@media (max-width: 900px) {
    .my-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .my-products-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-container {
        margin-top: 20px;
    }
}/* ===== Professional Product Cards ===== */

.product-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.product-card-content {
    padding: 16px;
}

.product-category {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 10px;
    border-radius: 20px;
    background: #eef5ff;
    color: #168eea;
    font-size: 12px;
    font-weight: 600;
}

.product-card h3 {
    margin: 3px 0 8px;
    font-size: 18px;
}

.product-card .price {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
}

/* ===== Lolopopo Professional Logo ===== */

.market-logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.logo-main {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.logo-tagline {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #b9c8ff;
    text-transform: uppercase;
}/* ===== Professional Search Bar ===== */

.search-form {
    max-width: 900px;
    margin: 30px auto 45px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);
}

.search-form input {
    flex: 1;
    padding: 15px 18px;
    border: 1px solid #ddd;
    border-radius: 9px;
    font-size: 15px;
    outline: none;
}

.search-form select {
    padding: 15px 12px;
    border: 1px solid #ddd;
    border-radius: 9px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

.search-form button {
    padding: 15px 28px;
    border: none;
    border-radius: 9px;
    background: #168eea;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.search-form button:hover {
    opacity: 0.9;
}

@media (max-width: 700px) {
    .search-form {
        margin: 20px 15px 30px;
        flex-direction: column;
    }

    .search-form input,
    .search-form select,
    .search-form button {
        width: 100%;
    }
}/* ===== Products Grid Improvement ===== */

.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 25px 50px;
}

.products-section h2 {
    text-align: center;
    margin-bottom: 28px;
    font-size: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

@media (max-width: 1000px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 750px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}/* ===== Final Products Grid Fix ===== */

.products-section {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 25px 50px;
    box-sizing: border-box;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 1000px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 750px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}/* ===== Home Categories ===== */

.home-categories {
    max-width: 1200px;
    margin: 35px auto 10px;
    padding: 0 25px;
    box-sizing: border-box;
}

.home-categories h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.category-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-links a {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    padding: 20px 10px;
    text-align: center;
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transition: 0.25s ease;
}

.category-links a span {
    display: block;
    font-size: 30px;
    margin-bottom: 9px;
}

.category-links a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
    .category-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 500px) {
    .category-links {
        grid-template-columns: repeat(2, 1fr);
    }
}/* ===== Sell Banner ===== */

.sell-banner {
    max-width: 1150px;
    margin: 30px auto;
    padding: 28px 35px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background: linear-gradient(135deg, #0a3f63, #168eea);
    border-radius: 16px;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.sell-banner h2 {
    margin: 0 0 8px;
    font-size: 26px;
    color: #ffffff;
}

.sell-banner p {
    margin: 0;
    font-size: 15px;
    color: #eaf4ff;
}

.sell-now-btn {
    display: inline-block;
    padding: 14px 24px;
    background: #ffffff;
    color: #0a3f63;
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    white-space: nowrap;
    transition: 0.25s ease;
}

.sell-now-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .sell-banner {
        margin: 20px 15px;
        padding: 24px 20px;
        flex-direction: column;
        text-align: center;
    }

    .sell-now-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}/* ===== Professional Add Product Form ===== */

.add-product-form {
    max-width: 750px;
    margin: 25px auto 50px;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
}

.add-product-form label {
    display: block;
    margin: 0 0 8px;
    font-weight: 600;
    color: #1f2937;
}

.add-product-form input,
.add-product-form select,
.add-product-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    margin-bottom: 20px;
    border: 1px solid #d8dee8;
    border-radius: 9px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
}

.add-product-form textarea {
    min-height: 130px;
    resize: vertical;
}

.add-product-form input:focus,
.add-product-form select:focus,
.add-product-form textarea:focus {
    border-color: #168eea;
    box-shadow: 0 0 0 3px rgba(22, 142, 234, 0.10);
}

.add-product-form button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 9px;
    background: #168eea;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.add-product-form button:hover {
    opacity: 0.9;
}

@media (max-width: 800px) {
    .add-product-form {
        margin: 20px 15px 40px;
        padding: 22px;
    }
}/* ===== Professional Dashboard ===== */

.dashboard-container {
    max-width: 1200px;
    margin: 35px auto;
    padding: 0 25px 50px;
    box-sizing: border-box;
}

.dashboard-welcome {
    padding: 40px 30px;
    margin-bottom: 35px;
    text-align: center;
    background: linear-gradient(135deg, #0a3f63, #168eea);
    color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dashboard-welcome h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 32px;
}

.dashboard-welcome p {
    margin: 8px 0;
    color: #eaf4ff;
}

.dashboard-welcome strong {
    color: #ffffff;
}

.dashboard-post-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 24px;
    background: #ffffff;
    color: #0a3f63;
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    transition: 0.25s ease;
}

.dashboard-post-btn:hover {
    transform: translateY(-2px);
}

.my-products-section {
    margin-top: 35px;
}

.my-products-section > h2 {
    margin-bottom: 25px;
    font-size: 28px;
    color: #1f2937;
}

@media (max-width: 700px) {
    .dashboard-container {
        padding: 0 15px 35px;
    }

    .dashboard-welcome {
        padding: 30px 20px;
    }

    .dashboard-welcome h1 {
        font-size: 27px;
    }
}/* ===== Dashboard Product Cards Final Design ===== */

.my-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.my-product-card {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.my-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.13);
}

.my-product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.my-product-info {
    padding: 18px;
}

.my-product-info h3 {
    margin: 8px 0;
    font-size: 19px;
    color: #1f2937;
}

.my-product-info .product-category {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background: #eef5ff;
    color: #168eea;
    font-size: 12px;
    font-weight: 600;
}

.my-product-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.my-product-actions a {
    flex: 1;
    padding: 11px 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .my-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .my-products-grid {
        grid-template-columns: 1fr;
    }
}/* ===== Professional Login Form ===== */

.login-form {
    margin-top: 25px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1f2937;
}

.login-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    margin-bottom: 20px;
    border: 1px solid #d8dee8;
    border-radius: 9px;
    background: #ffffff;
    font-size: 15px;
    outline: none;
}

.login-form input:focus {
    border-color: #168eea;
    box-shadow: 0 0 0 3px rgba(22, 142, 234, 0.10);
}

.login-form .form-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 9px;
    background: #168eea;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.login-form .form-btn:hover {
    opacity: 0.9;
}/* ===== Login Page Branding ===== */

.login-brand {
    text-align: center;
    margin-bottom: 25px;
}

.login-brand a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.login-logo {
    font-size: 32px;
    font-weight: 800;
    color: #0a3f63;
    letter-spacing: 1px;
}

.login-tagline {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #168eea;
}

.login-brand + h1 {
    margin-top: 5px;
}/* ===== Professional Register Form ===== */

.register-form {
    margin-top: 25px;
}

.register-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1f2937;
}

.register-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    margin-bottom: 18px;
    border: 1px solid #d8dee8;
    border-radius: 9px;
    background: #ffffff;
    font-size: 15px;
    outline: none;
}

.register-form input:focus {
    border-color: #168eea;
    box-shadow: 0 0 0 3px rgba(22, 142, 234, 0.10);
}

.register-form .form-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 9px;
    background: #168eea;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}