
/* Piping Labs Builds Styles */
.pl-builds-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    line-height: 1.6;
}

.pl-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pl-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.pl-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.pl-header a {
    color: white;
    text-decoration: underline;
}

.pl-environment-section {
    margin-bottom: 40px;
}

.pl-environment-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.pl-environment-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
}

.pl-environment-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.pl-badge-testing {
    background-color: #fef3c7;
    color: #92400e;
}

.pl-badge-preview {
    background-color: #dbeafe;
    color: #1e40af;
}

.pl-badge-production {
    background-color: #d1fae5;
    color: #065f46;
}

.pl-app-group {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pl-app-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pl-app-header {
    background-color: #f9fafb;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pl-app-name {
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pl-app-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 11px;
}

.pl-build-row {
    display: flex;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    align-items: center;
    transition: background-color 0.2s;
    cursor: pointer;
}

.pl-build-row:last-child {
    border-bottom: none;
}

.pl-build-row:hover {
    background-color: #f9fafb;
}

.pl-build-name {
    flex: 1;
    font-family: Monaco, Consolas, monospace;
    font-size: 0.9rem;
    color: #4b5563;
}

.pl-build-notes {
    flex: 0 0 120px;
    text-align: right;
}

.pl-build-notes.unavailable {
    color: #d1d5db;
    font-style: italic;
    font-size: 0.875rem;
}

.pl-notes-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.pl-notes-link:hover {
    text-decoration: underline;
}

.pl-build-version {
    background-color: #f3f4f6;
    color: #374151;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
}

.pl-stats-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.pl-stat-card {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.pl-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #374151;
}

.pl-stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 4px;
}

.pl-empty-state {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.pl-error {
    background-color: #fee;
    color: #c33;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.pl-login-required {
    background-color: #f3f4f6;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.pl-login-required a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.pl-login-required a:hover {
    text-decoration: underline;
}
