/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #0078d7;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header Styles */
header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.subscribe-btn {
    background-color: #0078d7;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.subscribe-btn:hover {
    background-color: #0056a3;
}

/* Main Content Styles */
main {
    padding: 40px 0;
}

.status-banner {
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.status-banner.operational {
    background-color: #2ecc71;
    color: white;
}

.status-banner.partial {
    background-color: #f39c12;
    color: white;
}

.status-banner.down {
    background-color: #e74c3c;
    color: white;
}

.uptime-info {
    text-align: right;
    margin-bottom: 20px;
    color: #666;
}

/* Services Styles */
.services {
    margin-bottom: 40px;
}

.service {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.status.operational {
    background-color: #2ecc71;
    color: white;
}

.status.partial {
    background-color: #f39c12;
    color: white;
}

.status.down {
    background-color: #e74c3c;
    color: white;
}

/* Uptime Chart Styles */
.uptime-chart {
    height: 30px;
    display: flex;
    margin-bottom: 5px;
    gap: 1px;
}

.uptime-bar {
    flex: 1;
    height: 100%;
}

.uptime-bar.operational {
    background-color: #2ecc71;
}

.uptime-bar.partial {
    background-color: #f39c12;
}

.uptime-bar.down {
    background-color: #e74c3c;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

/* Incidents Styles */
.incidents {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 20px;
}

.incidents h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.incident-day {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.incident-day:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.incident-day h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

/* Footer Styles */
footer {
    background-color: #fff;
    padding: 20px 0;
    border-top: 1px solid #eaeaea;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
