/* Shop User Page Styles */
.shop-user-page {
    background: transparent;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.shop-header h1 {
    color: #ffffff;
    margin: 0;
}

.shop-header p {
    color: #FFE1C2;
    margin: 0.5rem 0 0 0;
}

.shop-actions {
    display: flex;
    gap: 1rem;
}

.btn-refresh,
.btn-clear {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-refresh {
    background-color: #dd0802;
    color: white;
}

.btn-refresh:hover {
    background-color: #b30702;
    transform: translateY(-2px);
}

.btn-clear {
    background-color: #dd0802;
    color: white;
}

.btn-clear:hover {
    background-color: #b30702;
    transform: translateY(-2px);
}

/* Gmail-like requests list */
.requests-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.request-row {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.request-row:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.request-select input[type="checkbox"] {
    accent-color: #F5C842;
}

.request-main {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.request-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.request-title {
    font-weight: 700;
    color: #8B4726;
}

.request-meta-badge {
    background-color: #F5C842;
    color: #7a280e;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.request-summary {
    color: #333;
}

.request-sub {
    color: #666;
    font-size: 0.9rem;
}

.request-actions .login-submit {
    padding: 0.45rem 0.9rem;
    font-size: 0.95rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.empty-state h2 {
    color: #333;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #666;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #dd0802;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b30702;
    transform: translateY(-2px);
}

/* Requests Grid */
.requests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Request Card */
.request-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.request-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.request-header h3 {
    color: #dd0802;
    margin: 0;
    font-size: 1.2rem;
}

.request-badge {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Request Details */
.request-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.detail-label {
    font-weight: 600;
    color: #555;
}

.detail-value {
    color: #333;
    text-align: right;
}

/* Files Section */
.files-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.files-section h4 {
    color: #333;
    margin: 0 0 0.8rem 0;
    font-size: 1rem;
}

.files-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem;
    background: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.file-icon {
    font-size: 1.5rem;
}

.file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.file-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.file-type,
.file-size {
    font-size: 0.8rem;
    color: #666;
}

/* Request Actions */
.request-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.btn-view-json {
    flex: 1;
    padding: 0.6rem 1rem;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-json:hover {
    background-color: #1976D2;
    transform: translateY(-2px);
}

/* JSON Modal */
.json-modal {
    max-width: 800px;
    width: 90%;
}

.json-display {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1.5rem;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: 500px;
    overflow-y: auto;
}

/* Login Page Shop User Link */
.login-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.login-divider::before,
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ddd;
}

.login-divider::before {
    left: 0;
}

.login-divider::after {
    right: 0;
}

.login-divider span {
    background: white;
    padding: 0 1rem;
    color: #999;
    font-size: 0.9rem;
}

.shop-user-link {
    display: block;
    text-align: center;
    padding: 0.9rem 2.5rem;
    background-color: #dd0802;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(221, 8, 2, 0.25);
    border: none;
}

.shop-user-link:hover {
    background-color: #b30702;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(221, 8, 2, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
    .shop-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-actions {
        width: 100%;
    }

    .btn-refresh,
    .btn-clear {
        flex: 1;
    }

    .requests-grid {
        grid-template-columns: 1fr;
    }

    .json-modal {
        width: 95%;
    }
}
