/* My Submissions Page Styles */

/* Hero Block - Compact */
.submissions-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.12);
}

.submissions-hero h1 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.hero-icon {
    font-size: 1.25rem;
    opacity: 0.95;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    backdrop-filter: blur(10px);
    margin-right: 0.5rem;
}

/* Compact Stats */
.stats-inline {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-weight: 600;
    font-size: 1rem;
}

.stat-pending .stat-number { color: #f59e0b; }
.stat-approved .stat-number { color: #10b981; }
.stat-rejected .stat-number { color: #ef4444; }

.stat-label {
    color: #64748b;
}

/* Tabs */
.tabs-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tab-btn:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.tab-btn.active {
    color: #3b82f6;
    background: white;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
}

.tab-count {
    background: #e2e8f0;
    color: #64748b;
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.tab-btn.active .tab-count {
    background: #dbeafe;
    color: #3b82f6;
}

/* Covers tab - Orange theme */
.tab-btn[data-tab="covers"]:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.05);
}

.tab-btn[data-tab="covers"].active {
    color: #ff6b35;
    background: white;
}

.tab-btn[data-tab="covers"].active::after {
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.tab-btn[data-tab="covers"].active .tab-count {
    background: #fff3ed;
    color: #ff6b35;
}

.tab-content {
    display: none;
    padding: 0;
}

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

/* Compact Submissions List */
.submission-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
    font-size: 0.875rem;
}

.submission-item:last-child {
    border-bottom: none;
}

.submission-item:hover {
    background: #f8fafc;
}

.submission-info {
    flex: 1;
    min-width: 0;
}

.submission-title {
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.submission-title a {
    text-decoration: none;
    transition: color 0.2s;
}

.submission-title a:hover {
    text-decoration: underline;
}

/* Cover author and title links - Orange gradient */
.cover-link {
    color: #ff6b35;
    font-weight: 500;
}

.cover-link:hover {
    color: #f7931e;
}

/* Original author and title links - Blue gradient */
.original-link {
    color: #3b82f6;
    font-weight: 500;
}

.original-link:hover {
    color: #2563eb;
}

/* Link badges/icons */
.link-icon {
    font-size: 0.75rem;
    margin-right: 0.25rem;
    opacity: 0.8;
}

.submission-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.125rem;
}

/* Compact Status Badges */
.badge-status {
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.badge-pending {
    background: #fef3c7;
    color: #d97706;
}

.badge-approved {
    background: #d1fae5;
    color: #059669;
    text-decoration: none;
    display: inline-block;
}

.badge-approved:hover {
    background: #a7f3d0;
    color: #047857;
}

.badge-rejected {
    background: #fee2e2;
    color: #dc2626;
}

.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #94a3b8;
}

.empty-state i {
    font-size: 2rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    display: block;
}

.empty-state p {
    margin: 0;
    font-size: 0.875rem;
}

@media (max-width: 576px) {
    .stats-inline {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .submission-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
