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

body {
    font-family: 'Courier New', Courier, monospace;
    background: #e8e8e8;
    min-height: 100vh;
    color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
}

.box {
    border: 1px solid #bbb;
    padding: 30px 40px;
    background: #fafafa;
}

header {
    text-align: center;
    margin-bottom: 24px;
}

header h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.subtitle {
    color: #555;
    font-size: 14px;
}

.message {
    background: #fafafa;
    padding: 24px;
    border: 1px solid #bbb;
    text-align: center;
}

.message a {
    color: #4a90d9;
    text-decoration: none;
}

.message a:hover {
    text-decoration: underline;
}

.new-session {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.new-session input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #bbb;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    background: #fff;
}

.new-session input:focus {
    outline: none;
    border-color: #4a90d9;
}

.new-session button {
    padding: 10px 16px;
    background: #4a90d9;
    color: white;
    border: none;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.new-session button:hover {
    background: #3a7bc8;
}

.new-session button:disabled {
    background: #999;
    cursor: not-allowed;
}

.error {
    background: #fdd;
    color: #722;
    padding: 12px 16px;
    border: 1px solid #c99;
    margin-bottom: 16px;
    font-size: 14px;
}

.empty {
    background: #fafafa;
    padding: 24px;
    border: 1px solid #bbb;
    text-align: center;
    color: #555;
}

.loading {
    background: #fafafa;
    padding: 24px;
    border: 1px solid #bbb;
    text-align: center;
    color: #555;
}

.session-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 12px 16px;
    border: 1px solid #bbb;
    margin-bottom: 8px;
}

.session-card:hover {
    border-color: #999;
}

.session-name {
    color: #4a90d9;
    text-decoration: none;
    font-size: 14px;
}

.session-name:hover {
    text-decoration: underline;
}

.delete-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

.delete-btn:hover {
    color: #c44;
}

.hidden {
    display: none !important;
}

@media (max-width: 480px) {
    .box {
        padding: 20px;
    }

    .new-session {
        flex-direction: column;
    }

    .new-session button {
        width: 100%;
    }
}
