.designer-header h1 {
    color: var(--gst-text-pink);
    margin-bottom: 10px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.item-card {
    background-color: var(--gst-background-white2);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    font-family: Poppins;
}

.item-card.quality-0 {
    background-color: #eaefd9;
}

.item-card.quality-1 {
    background-color: #def3f6;
}

.item-card.quality-2 {
    background-color: #e1d3ec;
}

.item-card.quality-3 {
    background-color: #fcf4e2;
}

.item-card.quality-4 {
    background-color: #ffd6da;
}


.item-image {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.item-image img {
    max-width: 90%;
    max-height: 90%;
}

.item-details {
    padding: 12px;
}

.item-category {
    margin-bottom: 3px;
}

.item-date {
    font-size: 0.8em;
    color: #666;
    margin-bottom: 3px;
}

.empty-state {
    text-align: center;
    padding: 50px;
    color: #666;
}


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

.stat-card {
    background-color: var(--gst-background-white);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-title {
    font-size: 14px;
    color: var(--gst-text-959595);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: var(--gst-text-pink);
}

.era-chart {
    height: 200px;
    margin-top: 20px;
}

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

.popular-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: var(--gst-background-white2);
    border-radius: 8px;
    transition: transform 0.3s;
}

.popular-item.quality-0 {
    background-color: #eaefd9;
}

.popular-item.quality-1 {
    background-color: #def3f6;
}

.popular-item.quality-2 {
    background-color: #e1d3ec;
}

.popular-item.quality-3 {
    background-color: #fcf4e2;
}

.popular-item.quality-4 {
    background-color: #ffd6da;
}

.popular-item:hover {
    transform: translateX(5px);
}

.popular-item-image {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.popular-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popular-item-details {
    flex-grow: 1;
}

.popular-item-views {
    font-weight: bold;
    color: var(--gst-text-pink);
    min-width: 80px;
    text-align: right;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--gst-border-ccc);
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s;
}

.tab.active {
    background-color: var(--gst-background-pink);
    color: white;
    border: 1px solid var(--gst-background-pink);
    border-bottom: none;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.filter-bar {
    background-color: var(--gst-background-white);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.filter-label {
    font-size: 14px;
    color: var(--gst-text-4D4D4D);
    margin-bottom: 5px;
    font-weight: 600;
}

.filter-select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--gst-border-ccc);
    background-color: white;
}

.apply-filters,
.reset-filters {
    background-color: var(--gst-background-pink);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: auto;
}

.apply-filters:hover,
.reset-filters:hover {
    background-color: var(--gst-background-pink-hover);
}

.filter-tag {
    display: inline-block;
    background-color: var(--gst-background-pink);
    color: white;
    padding: 4px 8px;
    border-radius: 50px;
    margin-right: 5px;
    font-size: 12px;
}

.clear-filter {
    margin-left: 5px;
    cursor: pointer;
}

.category-chart {
    height: 200px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.category-list {
    margin-top: 20px;
    margin-bottom: 30px;
}

.category-item {
    margin-bottom: 10px;
}

.category-name {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.category-bar-container {
    height: 20px;
    background-color: #dbdbdb;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.category-bar {
    height: 100%;
    border-radius: 10px;
}

.category-count {
    position: absolute;
    right: 10px;
    color: #333;
    font-size: 12px;
    font-weight: bold;
}

.trades-table-container {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
}

.trades-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.trades-table th, 
.trades-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    color: #777;
}

.trades-table th {
    background-color: var(--gst-background-pink);
    color: white;
    font-weight: bold;
}

.trades-table th:first-child {
    border-top-left-radius: 12px;
}

.trades-table th:last-child {
    border-top-right-radius: 12px;
}

.trades-table tr:hover {
    background-color: #f5f5f5;
}

.trades-table tr.quality-0 { background-color: #eaefd9; }
.trades-table tr.quality-1 { background-color: #def3f6; }
.trades-table tr.quality-2 { background-color: #e1d3ec; }
.trades-table tr.quality-3 { background-color: #fcf4e2; }
.trades-table tr.quality-4 { background-color: #ffd6da; }

.trades-table tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.trades-table tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.trade-item {
    display: flex;
    align-items: center;
}

.trade-item img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: contain;
}

.trade-price {
    font-weight: bold;
    color: var(--gst-text-pink);
}

.price-chart {
    height: 300px;
    margin: 30px 0;
}

.loader-container {
    text-align: center;
    padding: 30px;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--gst-background-pink);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.trades-loading-message {
    margin-top: 15px;
    color: #666;
}

.item-views {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-icon {
    font-size: 0.9em;
}

.notif-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    justify-self: center;
}

.notif-pagination img {
    filter: invert(100%);
    height: 24px;
    width: 24px;
}

.notif-pagination-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    width: 100%;
}

.notif-pagination-link {
    margin: 0 5px 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gst-background-pink-hover);
    border-radius: 7px;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    height: 20px;
    width: 0px;
    transition: 0.2s;
}

.notif-pagination-link:hover {
    background-color: var(--gst-background-pink);
}

.notif-pagination-current-page {
    background-color: var(--gst-background-pink-hover);
    color: #fff;
    border-radius: 7px;
    font-size: 17px;
    font-weight: 700;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    margin: 0 5px 0 5px;
    font-family: 'Montserrat', sans-serif;
}

.owner-banner {
    background-color: rgba(255, 94, 153, 0.1);
    border: 1px solid var(--gst-border-pink);
    border-radius: 8px;
    padding: 10px 15px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.owner-badge {
    background-color: var(--gst-background-pink);
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

.owner-message {
    color: var(--gst-text-4D4D4D);
    font-size: 14px;
}

.timeline-section {
    padding: 20px;
    max-width: 1160px;
    margin: 0 auto;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-year {
    border-left: 3px solid var(--gst-border-pink);
    padding-left: 20px;
    position: relative;
}

.timeline-year h3 {
    background-color: var(--gst-background-pink);
    color: white;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 18px;
    position: sticky;
    top: 10px;
    z-index: 10;
    margin-bottom: 15px;
}

.timeline-month {
    margin-bottom: 20px;
}

.timeline-month h4 {
    font-size: 16px;
    color: var(--gst-text-4D4D4D);
    margin-bottom: 15px;
    position: relative;
}

.timeline-month h4:before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    width: 10px;
    height: 10px;
    background-color: var(--gst-border-pink);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-day {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 1px dashed var(--gst-border-pink);
}

.timeline-day h5 {
    font-size: 14px;
    color: var(--gst-text-4D4D4D);
    margin-bottom: 10px;
    position: relative;
}

.timeline-day h5:before {
    content: '';
    position: absolute;
    left: -19px;
    top: 50%;
    width: 6px;
    height: 6px;
    background-color: var(--gst-border-pink);
    border-radius: 50%;
    transform: translateY(-50%);
}

.day-count {
    font-size: 0.85em;
    color: var(--gst-text-959595);
    font-weight: normal;
}

.month-count {
    font-size: 0.85em;
    color: var(--gst-text-959595);
    font-weight: normal;
}

.timeline-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    padding-left: 10px;
}

.timeline-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1 / -1;
    margin: 10px 0;
}

.timeline-more-btn {
    background-color: var(--gst-background-pink-hover);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 100px;
}

.timeline-more-btn:hover {
    background-color: var(--gst-background-pink);
    transform: translateY(-2px);
}

.timeline-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    text-decoration: none;
}

.timeline-item.has-comment {
    border: 2px solid var(--gst-border-pink);
}

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

.timeline-item.quality-0 { background-color: #eaefd9; }
.timeline-item.quality-1 { background-color: #def3f6; }
.timeline-item.quality-2 { background-color: #e1d3ec; }
.timeline-item.quality-3 { background-color: #fcf4e2; }
.timeline-item.quality-4 { background-color: #ffd6da; }

.timeline-item-image {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-item-image img {
    max-width: 90%;
    max-height: 90%;
}

.timeline-item-comment-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: var(--gst-background-pink);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.timeline-item-comment-indicator i {
    font-size: 11px;
}

.tippy-box[data-theme~='black'] {
    background-color: #333;
    color: white;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    max-width: 300px !important;
    line-height: 1.4;
}

.tippy-box[data-theme~='black'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: #333;
}

.category-label {
    color: white;
    font-size: 0.75em;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.designer-header, 
.tab-container,
.stats-section {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.designer-header {
    text-align: center;
}

.tabs {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.filter-form {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.filter-bar, 
.items-grid,
.pagination {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
}

.designer-comment-container {
    margin-top: 10px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    background-color: rgba(255, 255, 255, 0.5);
    border-left: 3px solid var(--gst-background-pink);
    text-align: left;
}

.designer-comment-header {
    padding: 6px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gst-text-pink);
}

.designer-comment-body {
    padding: 8px 10px;
    font-style: italic;
    font-size: 0.85em;
    color: #4D4D4D;
    line-height: 1.4;
}

.designer-comment-actions {
    margin-top: 6px;
    text-align: center;
}

.edit-comment-btn {
    background-color: var(--gst-background-pink);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 0.75em;
    transition: all 0.2s ease;
    width: 100%;
    display: block;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.edit-comment-btn:hover {
    background-color: var(--gst-background-pink-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.item-card {
    text-decoration: none !important;
    color: inherit !important;
}

.items-grid a {
    text-decoration: none;
}

.item-details * {
    text-decoration: none;
}

.popular-item-views {
    font-weight: bold;
    color: var(--gst-text-pink);
    min-width: 80px;
    text-align: right;
    text-decoration: none !important;
}

.popular-items a {
    text-decoration: none;
}

.popular-item:hover .popular-item-views {
    text-decoration: none;
}

.category-name {
    display: block;
    margin-bottom: 5px;
}

.category-item {
    margin-bottom: 15px;
}

.category-list .category-label {
    margin-bottom: 5px;
}

.timeline-item-tags {
    position: absolute;
    top: 5px;
    left: 5px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tag {
    font-size: 9px;
    padding: 2px 4px;
    border-radius: 3px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.timeline-more-container {
    grid-column: 1 / -1;
    text-align: center;
}

.traded-items-grid {
    margin-top: 20px;
}

.traded-items-grid .item-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.traded-items-grid .item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.traded-items-grid .item-image {
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5);
}

.items-grid .item-image {
    background-color: rgba(255, 255, 255, 0.5);
}

.traded-items-grid .item-details {
    padding: 12px;
    text-align: center;
}

.traded-items-grid .trade-count {
    font-weight: bold;
    font-size: 14px;
    color: var(--gst-text-pink);
    display: block;
    margin-bottom: 5px;
}

.traded-items-grid .price-info {
    font-size: 12px;
    color: var(--gst-text-777);
}

.traded-items-grid .trade-price {
    font-weight: 600;
}

.trade-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
}

.trade-badge, .price-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.trade-badge {
    background-color: var(--gst-background-pink);
}

.price-badge {
    background-color: #B778C1;
}

.claim-designer-btn {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
    background-color: var(--gst-background-pink-hover);
    border-radius:17px;
    padding:9px;
    color: var(--gst-text-on-pink);
    font-weight: 500;
    padding-right: 13px;
    margin: 10px;
    transition: 0.2s;
    margin-right: 140px;
    border: none;
    cursor: pointer;
}