@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700');

*, *:before, *:after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.42857143;
    background: #f2f3f5;
}

a { color: #0077cc; text-decoration: none; }
a:hover { color: #005a9c; text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: inherit;
    font-weight: 600;
    line-height: 1.1;
    color: inherit;
    margin-top: 0;
    margin-bottom: 10px;
}

p { margin: 0 0 10px; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }
.pull-left   { float: left !important; }
.pull-right  { float: right !important; }
.lead        { font-size: 16px; font-weight: 300; }

.red { color: #e03a3a; }

.container {
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}
.container:before, .container:after { content: " "; display: table; }
.container:after { clear: both; }
@media (min-width: 768px)  { .container { width: 750px;  } }
@media (min-width: 992px)  { .container { width: 970px;  } }
@media (min-width: 1200px) { .container { width: 1170px; } }

.container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}
.container-fluid:before, .container-fluid:after { content: " "; display: table; }
.container-fluid:after { clear: both; }

.row {
    margin-right: -15px;
    margin-left: -15px;
}
.row:before, .row:after { content: " "; display: table; }
.row:after { clear: both; }

.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,
.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12,
.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,
.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,
.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,
.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-12 { width: 100%; float: left; }
.col-xs-6  { width: 50%;  float: left; }
.col-xs-4  { width: 33.333333%; float: left; }
.col-xs-3  { width: 25%;  float: left; }
.col-xs-2  { width: 16.666667%; float: left; }

.hidden-xs { display: none; }
.visible-sm { display: none; }

@media (min-width: 768px) {
    .col-sm-1  { width: 8.333333%;  float: left; }
    .col-sm-2  { width: 16.666667%; float: left; }
    .col-sm-3  { width: 25%;        float: left; }
    .col-sm-4  { width: 33.333333%; float: left; }
    .col-sm-5  { width: 41.666667%; float: left; }
    .col-sm-6  { width: 50%;        float: left; }
    .col-sm-8  { width: 66.666667%; float: left; }
    .col-sm-12 { width: 100%;       float: left; }
    .hidden-xs { display: block !important; }
    .visible-sm { display: block !important; }
}

@media (min-width: 992px) {
    .col-md-1  { width: 8.333333%;  float: left; }
    .col-md-2  { width: 16.666667%; float: left; }
    .col-md-3  { width: 25%;        float: left; }
    .col-md-4  { width: 33.333333%; float: left; }
    .col-md-5  { width: 41.666667%; float: left; }
    .col-md-6  { width: 50%;        float: left; }
    .col-md-7  { width: 58.333333%; float: left; }
    .col-md-8  { width: 66.666667%; float: left; }
    .col-md-9  { width: 75%;        float: left; }
    .col-md-10 { width: 83.333333%; float: left; }
    .col-md-11 { width: 91.666667%; float: left; }
    .col-md-12 { width: 100%;       float: left; }
    .col-md-offset-3 { margin-left: 25%; }
    .col-md-offset-6 { margin-left: 50%; }
}

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 0;
    border: 1px solid transparent;
}
.navbar:before, .navbar:after { content: " "; display: table; }
.navbar:after { clear: both; }

.navbar-fixed-top {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    z-index: 1030;
    border-width: 0 0 1px;
}

.navbar-landing {
    background-color: #1e2a3a;
    border-color: #0f1a2e;
}

.navbar .container { min-height: 50px; }
.navbar .container .row { margin: 0; }

.navbar-header { float: left; }
.navbar-header:before, .navbar-header:after { content: " "; display: table; }
.navbar-header:after { clear: both; }

.navbar-brand {
    float: left;
    padding: 15px 15px;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    height: 50px;
    color: #fff;
    letter-spacing: 0.2px;
    cursor: default;
    user-select: none;
}
.navbar-brand .red { color: #e03a3a; }

.navbar-toggle {
    position: relative;
    float: right;
    margin-right: 15px;
    padding: 9px 10px;
    margin-top: 8px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid #4a5a78;
    border-radius: 4px;
    color: #9aabcc;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    display: none;
}

.nav.navbar-nav {
    margin: 0;
    float: left;
    padding: 0;
}
.nav.navbar-nav > li { float: left; }
.nav.navbar-nav > li > a {
    display: block;
    padding: 15px 13px;
    color: #9aabcc;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    height: 50px;
    border-bottom: 3px solid transparent;
}
.nav.navbar-nav > li > a:hover {
    color: #fff;
    background-color: rgba(255,255,255,0.05);
    text-decoration: none;
}
.nav.navbar-nav > li.active > a {
    color: #fff;
    background-color: rgba(255,255,255,0.05);
    border-bottom-color: #e03a3a;
}

.collapse.navbar-collapse { float: right; }

.navbar-right-area {
    float: right;
    padding: 16px 15px;
    color: #9aabcc;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
    height: 50px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    display: inline-block;
    flex-shrink: 0;
}
.live-dot.degraded { background: #f39c12; }
.live-dot.down     { background: #e74c3c; }

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    outline: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control:focus {
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

.rbx-btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid #ccc;
    padding: 6px 14px;
    font-size: 13px;
    font-family: inherit;
    line-height: 1.42857143;
    border-radius: 4px;
    background: #e8eaee;
    color: #555;
    transition: background .1s, border-color .1s;
    text-decoration: none;
}
.rbx-btn:hover { background: #d8dadf; border-color: #bbb; text-decoration: none; }
.rbx-btn-primary {
    background: #e03a3a;
    color: #fff;
    border-color: #c42a2a;
}
.rbx-btn-primary:hover { background: #c82828; border-color: #a81818; }

.full-height-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #192333;
    background-image: linear-gradient(160deg, #1e2a3e 0%, #0d1520 55%, #14182a 100%);
    padding-top: 50px;
    margin: 0;
}

.inner-full-height-section {
    display: table;
    width: 100%;
    min-height: calc(100vh - 50px);
}

#MainCenterContainer {
    display: table-cell;
    vertical-align: middle;
    padding: 60px 0;
    width: 100%;
}

#MainLogo {
    padding: 0 30px;
}

#LogoAndSlogan {
    color: #fff;
    margin-bottom: 36px;
}

.ropulse-wordmark {
    font-size: 54px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 10px;
    color: #fff;
}
.ropulse-wordmark .red { color: #e03a3a; }

#LogoAndSlogan h1 {
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #7a8daa;
    margin: 0;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
    padding: 0 30px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.hero-stat-box {
    flex: 1;
    min-width: 70px;
    text-align: center;
    padding: 22px 10px;
    border-right: 1px solid rgba(255,255,255,0.07);
}
.hero-stat-box:last-child { border-right: none; }

.hero-stat-num {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}
.stat-num-red { color: #e03a3a; }

.hero-stat-label {
    font-size: 10px;
    font-weight: 700;
    color: #3d5070;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#StatusPanelContainer {
    padding: 30px 30px 30px 10px;
}

.status-panel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 26px 26px 20px;
}

.status-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    margin-top: 0;
}

.status-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(46,204,113,0.09);
    border: 1px solid rgba(46,204,113,0.22);
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    color: #2ecc71;
    margin-bottom: 16px;
}
.status-banner.has-issues {
    background: rgba(243,156,18,0.09);
    border-color: rgba(243,156,18,0.22);
    color: #f39c12;
}
.status-banner.has-outages {
    background: rgba(231,76,60,0.09);
    border-color: rgba(231,76,60,0.22);
    color: #e74c3c;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2ecc71;
    flex-shrink: 0;
    position: relative;
}
.pulse-dot:before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #2ecc71;
    animation: pulse-anim 1.5s ease-out infinite;
    opacity: 0;
}
@keyframes pulse-anim {
    0%   { transform: scale(0.7); opacity: 0.9; }
    100% { transform: scale(2.2); opacity: 0; }
}
.status-banner.has-issues .pulse-dot { background: #f39c12; }
.status-banner.has-issues .pulse-dot:before { border-color: #f39c12; }
.status-banner.has-outages .pulse-dot { background: #e74c3c; }
.status-banner.has-outages .pulse-dot:before { border-color: #e74c3c; }

.status-mini-list {
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 14px;
}
.status-mini-list::-webkit-scrollbar { width: 4px; }
.status-mini-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.status-mini-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 2px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
    color: #7a8daa;
}
.status-mini-item:last-child { border-bottom: none; }

.status-mini-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #2ecc71;
}
.status-mini-dot.degraded { background: #f39c12; }
.status-mini-dot.down     { background: #e74c3c; }

.status-mini-name { flex: 1; font-size: 12px; }
.status-mini-lat  { font-size: 11px; color: #3d5070; }

.status-panel-foot { margin-top: 10px; }

.hero-attribution {
    position: absolute;
    bottom: 14px;
    right: 18px;
    font-size: 12px;
    color: rgba(255,255,255,0.2);
}

.content-section {
    padding: 46px 0;
    background: #fff;
}
.content-section-alt { background: #f2f3f5; }

.section-heading { margin-bottom: 28px; }

.section-heading h2 {
    font-size: 21px;
    font-weight: 700;
    color: #1a2744;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 3px solid #e03a3a;
    padding-left: 12px;
    margin-bottom: 4px;
}

.section-heading .lead {
    font-size: 14px;
    font-weight: 400;
    color: #777;
    margin: 0;
    padding-left: 15px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.filter-field {
    flex: 1;
    min-width: 180px;
    margin-bottom: 0;
}

.api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 8px;
}

.tag-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 5px;
}

.api-card {
    background: #fff;
    border: 1px solid #dde1ea;
    border-radius: 3px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: border-color .12s, box-shadow .12s;
}
.api-card:hover {
    border-color: #aab4cc;
    box-shadow: 0 1px 5px rgba(0,0,0,.08);
    text-decoration: none;
    color: inherit;
}
.content-section-alt .api-card { background: #fff; }

.api-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #2ecc71;
}
.api-status-dot.degraded { background: #f39c12; }
.api-status-dot.down     { background: #e74c3c; }
.api-status-dot.unknown  { background: #95a5a6; }

.api-card-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a2744;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.api-card-meta { text-align: right; flex-shrink: 0; }
.api-card-endpoints { font-size: 11px; color: #999; }
.api-card-latency   { font-size: 11px; font-weight: 700; color: #2ecc71; }
.api-card-latency.slow      { color: #f39c12; }
.api-card-latency.very-slow { color: #e74c3c; }

.tag-card {
    background: #fff;
    border: 1px solid #dde1ea;
    border-radius: 3px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 600;
    color: #1a2744;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.content-section-alt .tag-card { background: #fff; }

.api-card-skeleton {
    background: linear-gradient(90deg, #e4e7ee 25%, #edeef2 50%, #e4e7ee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 3px;
    height: 46px;
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 14px;
    grid-column: 1 / -1;
}

.engine-overview, .status-summary-row { margin-bottom: 28px; }

.stat-card {
    background: #fff;
    border: 1px solid #dde1ea;
    border-radius: 3px;
    padding: 20px;
    margin-bottom: 15px;
}
.content-section-alt .stat-card { background: #f9fafb; }
.stat-up   .stat-card-num { color: #2ecc71; }
.stat-degraded .stat-card-num { color: #f39c12; }
.stat-down .stat-card-num { color: #e74c3c; }

.stat-card-num {
    font-size: 30px;
    font-weight: 700;
    color: #1a2744;
    line-height: 1;
    margin-bottom: 5px;
}
.stat-card-num-sm { font-size: 18px; }

.stat-card-label {
    font-size: 10px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rbx-tab-bar {
    display: flex;
    border-bottom: 2px solid #dde1ea;
    margin-bottom: 20px;
}

.rbx-tab {
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    color: #777;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color .12s;
}
.rbx-tab:hover { color: #1a2744; }
.rbx-tab.active { color: #1a2744; border-bottom-color: #e03a3a; }

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

.endpoint-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
    border: 1px solid #dde1ea;
    border-radius: 3px;
    overflow: hidden;
}
.endpoint-table th {
    background: #1a2744;
    color: #fff;
    padding: 9px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.endpoint-table td {
    padding: 8px 14px;
    border-bottom: 1px solid #eeeff3;
    vertical-align: middle;
}
.endpoint-table tr:last-child td { border-bottom: none; }
.endpoint-table tr:hover td { background: #f7f8fb; }
.table-loading { text-align: center; padding: 30px; color: #999; }

.method-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
    font-family: monospace;
    display: inline-block;
}
.method-badge.GET    { background: #d4edda; color: #155724; }
.method-badge.POST   { background: #cce5ff; color: #004085; }
.method-badge.PUT    { background: #fff3cd; color: #856404; }
.method-badge.DELETE { background: #f8d7da; color: #721c24; }
.method-badge.PATCH  { background: #e2d9f3; color: #3d0066; }

.endpoint-path {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #1a2744;
}

.changes-list { display: flex; flex-direction: column; gap: 5px; }
.changes-empty { text-align: center; padding: 40px; color: #999; font-size: 14px; }

.change-item {
    background: #fff;
    border: 1px solid #dde1ea;
    border-radius: 3px;
    padding: 11px 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.content-section-alt .change-item { background: #fff; }

.change-badge {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 6px;
    border-radius: 2px;
    margin-top: 2px;
}
.change-badge.new     { background: #d4edda; color: #155724; }
.change-badge.removed { background: #f8d7da; color: #721c24; }
.change-badge.changed { background: #fff3cd; color: #856404; }
.change-badge.update  { background: #d1ecf1; color: #0c5460; }

.change-content { flex: 1; min-width: 0; }
.change-path { font-size: 12px; font-weight: 600; color: #1a2744; font-family: 'Courier New', monospace; word-break: break-all; }
.change-desc { font-size: 12px; color: #666; margin-top: 2px; }
.change-time { flex-shrink: 0; font-size: 11px; color: #999; padding-top: 2px; }

.resource-card {
    background: #fff;
    border: 1px solid #dde1ea;
    border-radius: 3px;
    padding: 13px 15px;
}
.content-section-alt .resource-card { background: #fff; }

.resource-card-name { font-size: 14px; font-weight: 700; color: #1a2744; }
.resource-card-path { font-size: 11px; color: #888; font-family: monospace; margin-top: 3px; }

.resource-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 2px;
    margin-top: 5px;
}
.resource-badge.stable { background: #d4edda; color: #155724; }
.resource-badge.beta   { background: #fff3cd; color: #856404; }

.container-footer {
    background: #1a2744;
    border-top: 2px solid #0d1628;
}
.footer {
    padding: 22px 30px 18px;
    max-width: 1170px;
    margin: 0 auto;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    gap: 0;
}
.footer-link { display: inline-block; }
.text-footer-nav {
    display: block;
    padding: 4px 12px;
    color: #6a7d9a;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
}
.text-footer-nav:hover { color: #fff; text-decoration: none; }

.text-footer.footer-note {
    text-align: center;
    font-size: 12px;
    color: #3a4f6a;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 991px) {
    #MainCenterContainer { display: block; padding: 40px 0; }
    #StatusPanelContainer { padding: 10px 15px 30px; }
    .ropulse-wordmark { font-size: 40px; }
}

@media (max-width: 767px) {
    .navbar-toggle { display: block; }
    .nav.navbar-nav { display: none; }
    .collapse.navbar-collapse { float: none; clear: both; }
    .navbar-right-area { display: none; }
    .ropulse-wordmark { font-size: 34px; }
    .hero-stat-num { font-size: 26px; }
    .col-xs-12 { width: 100%; float: none; }
    .col-xs-6  { width: 50%; }
}
