html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
    font-family: sans-serif;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* End reset css */

body{
    background: #1d1d1d;
}

header{
    display: flex;
    padding: 1rem;
    justify-content: center;
    background: #000000;
    box-shadow: 0 2px 6px rgba(10, 10, 10, .25);
}
header img{
    max-width: 160px;
}

main{
    max-width: 1280px;
    margin: 0 auto;
}

.title-container{
    margin: 3rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.status-title{
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
}

.status-container{
    width: max-content;
    background: rgb(0, 173, 38);
    padding: 1.5rem;
    border-radius: 10px;
    color: #ffffff;
}

.status-container.down{
    background: rgb(255, 30, 30);
}

.services-container{
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card{
    background: #0f0f0f;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,.4);
}

.service-info{
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.service-name{
    color: #ffffff;
    font-weight: 600;
}

.service-meta{
    color: #a0a0a0;
    font-size: .85rem;
}

.service-status{
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.service-status.up{
    color: rgb(0, 173, 38);
}

.service-status.down{
    color: rgb(255, 30, 30);
}

.service-status.unstable{
    color: rgb(255, 170, 0);
}

.logs-section {
margin-top: 24px;
padding: 16px;
border: 1px solid #232323;
border-radius: 12px;
background: #0f0f0f;
}

.logs-container {
display: grid;
gap: 8px;
margin-top: 12px;
}

.log-item {
padding: 10px 12px;
border-radius: 8px;
background: #171717;
border: 1px solid #2a2a2a;
font-size: 14px;
color: #f0f0f0;
}

.log-title {
font-weight: 700;
color: #ffffff;
line-height: 1.4;
}

.log-meta {
margin-top: 6px;
font-size: 12px;
color: #b5b5b5;
line-height: 1.4;
}

.log-issues {
margin-top: 8px;
display: grid;
gap: 6px;
}

.log-issue {
padding: 8px;
border-radius: 6px;
background: #2a1111;
border: 1px solid #5c1d1d;
font-size: 12px;
line-height: 1.4;
color: #ffc6c6;
}

.load-more-btn {
margin-top: 12px;
padding: 8px 12px;
border: 1px solid #303030;
border-radius: 8px;
cursor: pointer;
background: #171717;
color: #f5f5f5;
}

.logs-section h2 {
color: #ffffff;
font-size: 1.15rem;
font-weight: 600;
}

.load-more-btn:hover {
background: #222222;
}

@media screen and (max-width:1348px){
    main{
        padding: 0 2rem;
    }
}

@media screen and (max-width: 450px){
    main { 
        padding: 0 .4rem;
    }

    .service-name{
        font-size: .9rem;
    }

    .service-info{
        font-size: .9rem;
    }

    .service-meta{
        font-size: .8rem;
    }

    .status-container{
        padding: 1rem;
        font-size: 1rem;
    }

    .status-title{
        font-size: 1.2rem;
    }
}
