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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #f7f7f5;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* HEADER */

.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: baseline;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-main {
    font-size: 28px;
    color: #1f2937;
}

.logo-dot {
    font-size: 18px;
    color: #f28c28;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
}

.navigation a {
    color: #444;
}

.navigation a:hover {
    color: #f28c28;
}


/* BUTTONS */

.btn {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 7px;
    font-weight: 600;
}

.btn-outline {
    border: 1px solid #ddd;
}

.btn-primary {
    background: #f28c28;
    color: white;
}

.btn-primary:hover {
    background: #dc7819;
}


/* HERO */

.hero {
    background: #1f2937;
    color: white;
    padding: 85px 0 95px;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: #f28c28;
}

.hero p {
    max-width: 680px;
    margin: 0 auto 35px;
    font-size: 18px;
    color: #d1d5db;
}

.search-box {
    width: min(760px, 100%);
    margin: 0 auto;
    display: flex;
    background: white;
    padding: 6px;
    border-radius: 9px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px;
    font-size: 16px;
}

.search-box button {
    border: none;
    background: #f28c28;
    color: white;
    font-weight: 700;
    padding: 0 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}

.add-ad {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    font-weight: 600;
}


/* SECTIONS */

.categories,
.ads-section {
    padding: 65px 0;
}

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

.section-header h2 {
    font-size: 28px;
}

.section-header a {
    color: #f28c28;
    font-weight: 600;
}


/* CATEGORIES */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.category-card {
    background: white;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 25px;
    transition: 0.2s;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #f28c28;
}

.category-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1e4;
    color: #f28c28;
    border-radius: 8px;
    font-size: 22px;
    margin-bottom: 15px;
}

.category-card h3 {
    margin-bottom: 5px;
}

.category-card p {
    color: #777;
    font-size: 14px;
}


/* ADS */

.ads-section {
    background: white;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ad-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    overflow: hidden;
}

.ad-image {
    height: 190px;
    background: #eeeeeb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.ad-content {
    padding: 18px;
}

.ad-category {
    font-size: 13px;
    color: #f28c28;
    font-weight: 700;
}

.ad-content h3 {
    margin: 5px 0 8px;
    font-size: 19px;
}

.ad-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.ad-info {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

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

.ad-bottom strong {
    font-size: 20px;
}

.location {
    color: #777;
    font-size: 13px;
}


/* CTA */

.cta {
    background: #fff1e4;
    padding: 70px 0;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.cta p {
    color: #666;
    margin-bottom: 25px;
}


/* FOOTER */

.footer {
    background: #1f2937;
    color: white;
    padding: 35px 0;
}

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

.footer-logo {
    font-weight: 800;
    font-size: 20px;
}

.footer-logo span {
    color: #f28c28;
}

.footer-links {
    display: flex;
    gap: 20px;
    color: #bbb;
    font-size: 14px;
}

.copyright {
    color: #999;
    font-size: 13px;
}


/* MOBILE */

@media (max-width: 800px) {

    .navigation {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .search-box {
        flex-direction: column;
        gap: 6px;
    }

    .search-box button {
        padding: 14px;
    }

    .category-grid,
    .ads-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* AUTH */

.auth-page {
    min-height: 100vh;
    background: #f7f7f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.auth-logo {
    display: block;
    text-align: center;
    font-size: 27px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 30px;
}

.auth-logo span {
    color: #f28c28;
}

.auth-card h1 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d7d7d7;
    border-radius: 7px;
    font-size: 15px;
    outline: none;
}

.form-group input:focus {
    border-color: #f28c28;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.auth-button {
    width: 100%;
    border: none;
    background: #f28c28;
    color: white;
    padding: 13px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 5px;
}

.auth-button:hover {
    background: #dc7819;
}

.form-errors {
    background: #fff0f0;
    border: 1px solid #f0caca;
    color: #b42318;
    padding: 12px 15px;
    border-radius: 7px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-errors div + div {
    margin-top: 5px;
}

.form-success {
    background: #eefbf3;
    border: 1px solid #b7e2c4;
    color: #18733a;
    padding: 12px 15px;
    border-radius: 7px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: #777;
    font-size: 14px;
}

.auth-footer a {
    color: #f28c28;
    font-weight: 700;
}

@media (max-width: 500px) {

    .auth-card {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


.user-greeting {
    font-weight: 600;
    color: #444;
}

/* =========================================================
   ADMIN
========================================================= */

.admin-body {
    background: #f5f6f8;
}


/* HEADER */

.admin-header {
    height: 70px;
    background: #1f2937;
    color: white;
}

.admin-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-logo {
    font-size: 24px;
    font-weight: 800;
}

.admin-logo span {
    color: #f28c28;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.admin-user a {
    color: #ddd;
}

.admin-user a:hover {
    color: white;
}


/* LAYOUT */

.admin-layout {
    display: flex;
    min-height: calc(100vh - 70px);
}


/* SIDEBAR */

.admin-sidebar {
    width: 240px;
    background: #ffffff;
    border-right: 1px solid #e2e4e8;
    padding: 25px 15px;
    flex-shrink: 0;
}

.admin-sidebar-title {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    padding: 0 12px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.admin-nav-link {
    display: block;
    padding: 11px 12px;
    border-radius: 7px;
    color: #555;
    font-size: 14px;
    margin-bottom: 4px;
}

.admin-nav-link:hover {
    background: #f5f5f5;
    color: #222;
}

.admin-nav-link.active {
    background: #fff1e4;
    color: #f28c28;
    font-weight: 700;
}

.admin-sidebar-separator {
    height: 1px;
    background: #e5e5e5;
    margin: 20px 10px;
}


/* CONTENT */

.admin-content {
    flex: 1;
    padding: 35px;
    max-width: 1400px;
}

.admin-page-header {
    margin-bottom: 30px;
}

.admin-page-header h1 {
    font-size: 30px;
    margin-bottom: 5px;
}

.admin-page-header p {
    color: #777;
}


/* STATISTIKA */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border: 1px solid #e2e4e8;
    border-radius: 10px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 17px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: #fff1e4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info span {
    color: #777;
    font-size: 13px;
}

.stat-info strong {
    font-size: 27px;
    line-height: 1.2;
}


/* CARD */

.admin-card {
    background: white;
    border: 1px solid #e2e4e8;
    border-radius: 10px;
    padding: 25px;
}

.admin-card h2 {
    margin-bottom: 10px;
}

.admin-card p {
    color: #666;
}


/* MOBILE */

@media (max-width: 900px) {

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 650px) {

    .admin-sidebar {
        display: none;
    }

    .admin-content {
        padding: 20px;
    }

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

    .admin-user {
        font-size: 13px;
    }

}


```css
/* =========================================================
   USERS
========================================================= */

.users-filters {
    margin-bottom: 25px;
}

.users-filter-form {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #555;
}

.filter-group input,
.filter-group select {
    width: 100%;
    height: 42px;
    border: 1px solid #d8dce1;
    border-radius: 7px;
    padding: 0 12px;
    background: white;
    font-size: 14px;
    outline: none;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: #f28c28;
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-buttons .btn {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}


/* TABLE */

.users-table-card {
    padding: 0;
    overflow: hidden;
}

.users-table-header {
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.users-table-header h2 {
    font-size: 18px;
}

.users-table-header span {
    color: #777;
    font-size: 13px;
}

.table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th {
    text-align: left;
    background: #f8f9fa;
    color: #666;
    font-size: 12px;
    font-weight: 700;
    padding: 13px 18px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.admin-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #eef0f2;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: #fafafa;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.user-name strong {
    color: #222;
}


/* ROLE BADGES */

.role-badge,
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.role-admin {
    background: #fff1e4;
    color: #d86f13;
}

.role-user {
    background: #f1f3f5;
    color: #555;
}


/* STATUS */

.status-aktivan {
    background: #eaf8ef;
    color: #19733a;
}

.status-blokiran {
    background: #fff0f0;
    color: #b42318;
}

.status-nepotvrdjen {
    background: #fff8df;
    color: #8a6800;
}

.text-muted {
    color: #999;
}

.empty-table {
    text-align: center;
    padding: 50px !important;
    color: #888;
}


/* MOBILE */

@media (max-width: 900px) {

    .users-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-buttons {
        width: 100%;
    }

    .filter-buttons .btn {
        flex: 1;
    }

}

/* =========================================================
   ADMIN ALERTS
========================================================= */

.admin-alert {
    padding: 13px 17px;
    border-radius: 7px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.admin-alert-success {
    background: #eaf8ef;
    border: 1px solid #b7e2c4;
    color: #19733a;
}

.admin-alert-error {
    background: #fff0f0;
    border: 1px solid #f0caca;
    color: #b42318;
}


/* =========================================================
   USER ACTIONS
========================================================= */

.user-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.inline-form {
    display: inline;
    margin: 0;
}

.action-btn {
    border: none;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.action-block {
    background: #fff3e8;
    color: #c45d08;
}

.action-block:hover {
    background: #ffe4cc;
}

.action-activate {
    background: #eaf8ef;
    color: #19733a;
}

.action-activate:hover {
    background: #d8f2e1;
}

.action-delete {
    background: #fff0f0;
    color: #b42318;
}

.action-delete:hover {
    background: #ffe0e0;
}



/* =========================================================
   MATERIAL TYPES
========================================================= */

.material-form-card {
    margin-bottom: 25px;
}

.material-form-header {
    margin-bottom: 25px;
}

.material-form-header h2 {
    font-size: 19px;
    margin-bottom: 5px;
}

.material-form-header p {
    color: #777;
    font-size: 14px;
}

.material-form-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 15px;
    margin-bottom: 18px;
}

.material-form textarea {
    width: 100%;
    border: 1px solid #d8dce1;
    border-radius: 7px;
    padding: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    resize: vertical;
    outline: none;
}

.material-form textarea:focus {
    border-color: #f28c28;
}

.material-form-submit {
    margin-top: 18px;
}

.materials-table-card {
    padding: 0;
    overflow: hidden;
}

.slug-code {
    background: #f4f5f6;
    border-radius: 5px;
    padding: 4px 7px;
    font-size: 12px;
    color: #555;
}

@media (max-width: 900px) {

    .material-form-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MATERIAL EDIT MODAL
========================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1000;

    padding: 20px;
}


.material-edit-modal {
    width: 100%;
    max-width: 750px;

    background: white;

    border-radius: 12px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);

    padding: 28px;
}


.modal-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    margin-bottom: 25px;
}


.modal-header h2 {
    margin-bottom: 5px;
    font-size: 21px;
}


.modal-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
}


.modal-close {
    border: none;

    background: transparent;

    font-size: 30px;

    line-height: 1;

    color: #777;

    cursor: pointer;

    padding: 0 5px;
}


.modal-close:hover {
    color: #222;
}


.modal-actions {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 25px;
}


.action-edit {
    background: #eef4ff;
    color: #2457a6;
}


.action-edit:hover {
    background: #dfeaff;
}


/* =========================================================
   ADMIN ADS
========================================================= */

.ad-code {
    margin-top: 4px;
    color: #888;
    font-size: 11px;
}

.ad-user-email {
    margin-top: 3px;
    color: #999;
    font-size: 11px;
}

.admin-table td {
    white-space: nowrap;
}

.admin-table td:first-child {
    white-space: normal;
    min-width: 180px;
}


/* =========================================================
   AD DETAIL
========================================================= */

.ad-detail-status {
    margin-bottom: 20px;
}

.ad-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.ad-detail-card {
    margin-bottom: 20px;
}

.ad-detail-card h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

.detail-list {
    display: flex;
    flex-direction: column;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f2;
}

.detail-row:first-child {
    padding-top: 0;
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-row span {
    color: #777;
    font-size: 14px;
}

.detail-row strong {
    text-align: right;
    font-size: 14px;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.dimension-box {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
}

.dimension-box span {
    display: block;
    color: #777;
    font-size: 12px;
    margin-bottom: 6px;
}

.dimension-box strong {
    font-size: 16px;
}

.ad-description {
    line-height: 1.7;
    color: #444;
}

.ad-user-detail {
    line-height: 1.8;
    color: #666;
}

.ad-user-detail strong {
    display: block;
    color: #222;
    font-size: 16px;
    margin-bottom: 5px;
}

.ad-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.ad-image-item {
    aspect-ratio: 1 / 1;
    background: #f5f6f8;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.ad-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {

    .ad-detail-grid {
        grid-template-columns: 1fr;
    }

    .ad-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

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

    .detail-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .detail-row strong {
        text-align: left;
    }

}



/* =========================================================
   ADD AD
========================================================= */

.site-header {
    background: #1f2937;
    color: white;
    padding: 14px 25px;
}

.site-header-inner {
    max-width: 1100px;
    margin: 0 auto;

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

.site-logo {
    color: white;
    text-decoration: none;

    font-size: 22px;
    font-weight: 800;
}

.site-logo span {
    color: #f7931e;
}

.site-user {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 14px;
}

.site-user a {
    color: white;
    text-decoration: none;
}

.site-user a:hover {
    text-decoration: underline;
}


.ad-form-container {
    width: 100%;
    max-width: 950px;

    margin: 35px auto;

    padding: 0 20px;
}


.ad-form-header {
    margin-bottom: 25px;
}

.ad-form-header h1 {
    margin-bottom: 8px;
}

.ad-form-header p {
    margin: 0;
    color: #777;
}


.ad-form {
    background: white;

    border: 1px solid #ddd;
    border-radius: 10px;

    padding: 30px;
}


.form-section {
    padding-bottom: 28px;
    margin-bottom: 28px;

    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
}


.form-section h2 {
    font-size: 19px;
    margin: 0 0 18px;
}


.optional {
    color: #999;
    font-size: 13px;
    font-weight: normal;
    margin-left: 5px;
}


.section-description {
    color: #777;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 20px;
}


.form-grid-2 {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}


.full-width {
    grid-column: 1 / -1;
}


.dimensions-form-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;
}


.price-input,
.unit-input {
    display: flex;
    align-items: stretch;
}


.price-input input,
.unit-input input {
    flex: 1;
}


.price-input span,
.unit-input span {
    display: flex;
    align-items: center;

    padding: 0 14px;

    background: #f3f4f6;

    border: 1px solid #d1d5db;

    border-left: none;

    border-radius: 0 6px 6px 0;

    color: #555;

    font-size: 14px;
}


.price-input input,
.unit-input input {
    border-radius: 6px 0 0 6px;
}


.form-group small {
    display: block;

    margin-top: 6px;

    color: #888;

    font-size: 12px;
}


.form-actions {
    display: flex;

    justify-content: flex-end;

    gap: 12px;

    padding-top: 5px;
}


@media (max-width: 700px) {

    .form-grid-2,
    .dimensions-form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

    .ad-form {
        padding: 20px;
    }

    .site-header-inner {
        flex-direction: column;
        gap: 10px;
    }

}



/* =========================================================
   AD IMAGE UPLOAD
========================================================= */

.form-group input[type="file"] {
    width: 100%;

    padding: 12px;

    border: 1px solid #d1d5db;
    border-radius: 6px;

    background: #fff;

    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: #f7931e;
}

/* =========================================================
   USER PAGE
========================================================= */

.user-page {
    min-height: calc(100vh - 60px);
    background: #f5f6f8;
    padding: 35px 20px;
}

.user-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


.user-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 25px;
}

.user-page-header h1 {
    margin: 0 0 7px;
    font-size: 30px;
}

.user-page-header p {
    margin: 0;
    color: #777;
}


/* =========================================================
   SUMMARY
========================================================= */

.my-ads-summary {
    display: grid;
    grid-template-columns: repeat(2, 220px);
    gap: 15px;
    margin-bottom: 25px;
}

.my-ads-summary-card {
    background: white;

    border: 1px solid #ddd;
    border-radius: 9px;

    padding: 18px 20px;
}

.my-ads-summary-card span {
    display: block;

    color: #777;

    font-size: 13px;

    margin-bottom: 5px;
}

.my-ads-summary-card strong {
    font-size: 25px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    background: white;

    border: 1px solid #ddd;
    border-radius: 10px;

    padding: 60px 30px;

    text-align: center;
}

.empty-state-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.empty-state h2 {
    margin: 0 0 8px;
}

.empty-state p {
    color: #777;
    margin: 0 auto 25px;
    max-width: 500px;
}


/* =========================================================
   MY ADS LIST
========================================================= */

.my-ads-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* =========================================================
   MY AD CARD
========================================================= */

.my-ad-card {
    display: flex;

    background: white;

    border: 1px solid #ddd;
    border-radius: 10px;

    overflow: hidden;

    min-height: 190px;
}


.my-ad-image {
    width: 220px;
    min-width: 220px;

    background: #f1f3f5;

    overflow: hidden;
}

.my-ad-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.my-ad-no-image {
    width: 100%;
    height: 100%;

    min-height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 45px;

    color: #aaa;
}


/* =========================================================
   CONTENT
========================================================= */

.my-ad-content {
    flex: 1;

    padding: 20px;

    display: flex;
    flex-direction: column;
}


.my-ad-top {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 15px;

    margin-bottom: 18px;
}


.my-ad-top h2 {
    margin: 0 0 5px;

    font-size: 20px;
}

.my-ad-type {
    color: #777;
    font-size: 13px;
}


/* =========================================================
   DETAILS
========================================================= */

.my-ad-details {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(120px, 1fr));

    gap: 20px;

    margin-bottom: 20px;
}

.my-ad-details span {
    display: block;

    color: #888;

    font-size: 12px;

    margin-bottom: 5px;
}

.my-ad-details strong {
    font-size: 14px;
}


/* =========================================================
   FOOTER
========================================================= */

.my-ad-footer {
    margin-top: auto;

    padding-top: 15px;

    border-top: 1px solid #eee;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.my-ad-date {
    color: #999;
    font-size: 12px;
}


/* =========================================================
   SMALL BUTTON
========================================================= */

.btn-small {
    padding: 7px 13px;
    font-size: 13px;
}


/* =========================================================
   STATUS
========================================================= */

.status-badge {
    display: inline-flex;

    align-items: center;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 12px;

    white-space: nowrap;
}

.status-aktivan {
    background: #e9f8ef;
    color: #168344;
}

.status-prodat {
    background: #fff3e8;
    color: #c65b00;
}

.status-istekao {
    background: #f1f1f1;
    color: #777;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .user-page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .my-ads-summary {
        grid-template-columns: 1fr 1fr;
    }

    .my-ad-card {
        flex-direction: column;
    }

    .my-ad-image {
        width: 100%;
        height: 220px;
        min-width: 0;
    }

    .my-ad-no-image {
        min-height: 220px;
    }

    .my-ad-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .my-ad-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .my-ad-actions {
        display: flex;
    }

    .my-ad-actions .btn {
        width: 100%;
        text-align: center;
    }

}