/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #24292f;
    background-color: #ffffff;
    padding: 24px;
    justify-content: center;
    text-align: center;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Card Base */
.messages-card,
.content-card {
    background-color: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(27, 31, 35, 0.1);
}

/* Card Header */
.card-header {
    background-color: #f6f8fa;
    border-bottom: 1px solid #d0d7de;
    padding: 12px 16px;
    font-weight: 600;
    color: #1f2328;
}

/* Card Content */
.card-content,
.content-card {
    padding: 16px;
    color: #1f2328;
}

/* Message List */
.messages-list {
    list-style: none;
    margin: 0;
}

.message-item {
    background-color: #f0f0f0;
    border: 1px solid #d0d7de;
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #1f2328;
}

.message-item:last-child {
    margin-bottom: 0;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: #6e7781;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    background-color: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    color: #24292f;
    width: 100%;
    transition: border-color 0.2s ease-in-out;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #24292f;
    box-shadow: 0 0 0 2px rgba(27, 31, 35, 0.1);
}

/* Buttons */
.btn {
    margin-top: 1em;
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #24292f;
    background-color: #ffffff;
    color: #24292f;
    cursor: pointer;

    transition: all 0.2s ease;
}

.btn:hover {
    background-color: #000001;
    color: whitesmoke;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    .container {
        gap: 16px;
    }

    .card-header,
    .card-content,
    .content-card {
        padding: 14px;
    }

    .message-item {
        padding: 8px 12px;
        font-size: 13px;
    }
}