/* Portal (Index) */ .portal-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: calc(100vh - 36px); background: var(--bg-muted); padding: var(--space-lg); margin-top: 36px; } .portal-header { text-align: center; margin-bottom: 50px; } .portal-header h1 { font-size: 28px; color: var(--primary-color); margin-bottom: 10px; } .portal-header p { color: var(--text-sub); font-size: 15px; } .button-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; width: 100%; max-width: 800px; } .portal-card { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 40px; text-align: center; transition: 0.3s; width: 100%; box-shadow: var(--box-shadow); display: flex; flex-direction: column; align-items: center; gap: 20px; } .portal-card:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: var(--box-shadow-lg); } /* Dashboard List & Console */ header { position: fixed; top: 36px; left: 0; right: 0; z-index: 1000; background: #fff; display: flex; justify-content: space-between; align-items: center; padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border-color); box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .main-content { margin-top: 100px; padding: var(--space-lg); max-width: 1400px; margin-left: auto; margin-right: auto; } .log-console { position: sticky; top: 100px; z-index: 999; background: #000; color: #0f0; font-family: monospace; padding: 15px; margin-bottom: 20px; border-radius: 4px; max-height: 250px; overflow-y: auto; font-size: 12px; line-height: 1.5; box-shadow: 0 10px 20px rgba(0,0,0,0.2); } .log-console-header { color: #fff; border-bottom: 1px solid #333; margin-bottom: 10px; padding-bottom: 5px; font-weight: bold; } .accordion-container { border-top: 1px solid var(--border-color); } .accordion-list-header, .accordion-header { display: grid; grid-template-columns: 2.5fr 1fr 1fr 0.8fr 2fr; gap: var(--space-md); padding: var(--space-md) var(--space-lg); align-items: center; cursor: pointer; } .accordion-list-header { position: sticky; top: 100px; background: var(--bg-muted); z-index: 10; font-size: 11px; font-weight: 700; color: var(--text-sub); border-bottom: 1px solid var(--text-main); cursor: default; } .accordion-item { border-bottom: 1px solid var(--border-color); } .accordion-item:hover { background: var(--primary-lv-0); } .repo-title { font-weight: 700; color: var(--primary-color); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .repo-files { text-align: center; font-weight: 600; } .repo-log { font-size: 11px; color: var(--text-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .accordion-body { display: none; padding: var(--space-lg); background: var(--bg-muted); border-top: 1px solid var(--border-color); } .accordion-item.active .accordion-body { display: block; } .status-warning { background: #fff9e6; } .status-error { background: #fee9e7; } .warning-text { color: #f21d0d !important; font-weight: 700; } /* Multi-level Groups */ .continent-group, .country-group { margin-bottom: 10px; } .continent-header, .country-header { background: #fff; padding: 12px 20px; border: 1px solid var(--border-color); border-radius: 8px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; transition: all 0.2s; } .continent-header { background: var(--primary-color); color: white; border: none; font-size: 15px; } .country-header { font-size: 14px; color: var(--text-main); margin-top: 5px; } .continent-body, .country-body { display: none; padding: 10px 0 10px 20px; } .active>.continent-body, .active>.country-body { display: block; } /* Detail Views */ .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .detail-section h4 { font-size: 13px; margin-bottom: 10px; color: var(--text-main); border-left: 3px solid var(--primary-color); padding-left: 8px; } .data-table { width: 100%; border-collapse: collapse; font-size: 12px; } .data-table th, .data-table td { padding: 8px; border-bottom: 1px solid var(--border-color); text-align: left; } .data-table th { color: var(--text-sub); font-weight: 600; } /* Sync Button & Admin Info */ .sync-btn { display: flex; align-items: center; gap: var(--space-sm); background-color: var(--primary-color); color: #fff; padding: 8px 16px; border-radius: var(--radius-lg); font-size: 13px; font-weight: 600; cursor: pointer; border: none; box-shadow: var(--box-shadow); } .sync-btn:hover { background-color: var(--primary-lv-8); } .sync-btn.loading .spinner { display: inline-block; } .admin-info { font-size: 13px; color: var(--text-sub); margin-left: var(--space-md); padding: 6px 12px; background: var(--bg-muted); border-radius: var(--radius-sm); border: 1px solid var(--border-color); } .admin-info strong { color: var(--primary-color); font-weight: 700; } .base-date-info { font-size: 13px; color: var(--text-sub); background: #f8f9fa; padding: 6px 15px; border-radius: 6px; border: 1px solid var(--border-color); } .base-date-info strong { color: #333; font-weight: 700; margin-left: 5px; }