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

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

.header {
    background-color: #F5F5F5;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.header h1 {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    background-color: #F5F5F5;
    color: #333333;
    border: 1px solid #ddd;
}

.status-badge.online {
    background-color: #28A745;
    color: #FFFFFF;
    border-color: #28A745;
}

.status-badge.offline {
    background-color: #DC3545;
    color: #FFFFFF;
    border-color: #DC3545;
}

.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 250px;
    height: calc(100vh - 60px);
    background-color: #FFFFFF;
    border-right: 1px solid #e0e0e0;
    padding: 20px 0;
    overflow-y: auto;
    z-index: 999;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin: 0;
}

.sidebar a {
    display: block;
    padding: 12px 20px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.sidebar a:hover {
    background-color: #F5F5F5;
    color: #6C63FF;
}

.content {
    margin-left: 250px;
    padding: 80px 20px 20px;
    max-width: 1200px;
    margin-right: auto;
}

.card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333333;
}

.card p, .card li {
    font-size: 14px;
    color: #333333;
}

.card ul {
    padding-left: 20px;
}

button {
    background-color: #6C63FF;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #5a52d5;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 10px;
}

#test-result {
    margin-top: 10px;
    padding: 10px;
    background-color: #F5F5F5;
    border-radius: 4px;
    font-size: 14px;
    white-space: pre-wrap;
}

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border-top: 1px solid #e0e0e0;
    padding: 10px 0;
    justify-content: space-around;
    z-index: 1000;
}

.bottom-nav a {
    color: #333333;
    text-decoration: none;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.bottom-nav a:hover {
    background-color: #F5F5F5;
    color: #6C63FF;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .content {
        margin-left: 0;
        padding: 70px 15px 80px;
    }

    .bottom-nav {
        display: flex;
    }

    .header h1 {
        font-size: 16px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }

    .content {
        margin-left: 200px;
    }
}

@media (min-width: 1025px) {
    .sidebar {
        width: 250px;
    }

    .content {
        margin-left: 250px;
    }
}
