/* Dashboard page specific styles */

.welcome-card {
    background: white;
    border-radius: 0;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.welcome-card h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.welcome-card p {
    color: #666;
    font-size: 16px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.card-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 12px;
    color: #0066cc;
    transition: transform 0.2s;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card .stat {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    margin-top: 12px;
}

.api-link {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: #f5f7fa;
    border-radius: 0;
    text-decoration: none;
    color: #0066cc;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.api-link:hover {
    background: #e8ecf1;
}

/* B2 Files Section */
.files-section {
    background: white;
    border-radius: 0;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 24px;
}

.files-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.refresh-btn {
    padding: 8px 16px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.2s;
}

.refresh-btn:hover {
    background: #0052a3;
}

.files-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.files-table thead {
    background: #f5f7fa;
}

.files-table th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    border-bottom: 2px solid #e1e8ed;
}

.files-table td {
    padding: 12px 16px;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.files-table tr:hover {
    background: #fafbfc;
}

.file-name {
    color: #333;
    font-weight: 500;
    word-break: break-all;
}

.download-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}

.download-link:hover {
    text-decoration: underline;
}

.error-message {
    padding: 16px;
    background: #fee;
    color: #c33;
    border-radius: 0;
    margin-top: 16px;
    border: 1px solid #fcc;
}

.bucket-info {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 0;
    font-size: 13px;
    margin-left: 12px;
}
