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

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #1a1a2e;
    color: #eee;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: #16213e;
    padding: 40px;
    border-radius: 12px;
    width: 400px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.container.wide {
    width: 800px;
    max-width: 95%;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #e94560;
}

h3 {
    margin: 20px 0 10px;
    color: #4cc9f0;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #0f3460;
    color: #fff;
    font-size: 14px;
}

textarea {
    font-family: 'Courier New', monospace;
    resize: vertical;
}

button {
    width: 100%;
    padding: 12px;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

button:hover {
    background: #d63851;
}

button:disabled {
    background: #666;
    cursor: not-allowed;
}

a {
    color: #4cc9f0;
    text-decoration: none;
    margin-left: 10px;
}

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

.header h2 {
    margin-bottom: 0;
}

.nav {
    display: flex;
    align-items: center;
}

.nav span {
    color: #4cc9f0;
}

.quota-info {
    margin-bottom: 15px;
    color: #4cc9f0;
    font-size: 14px;
}

#message, #result {
    margin-top: 15px;
    text-align: center;
    color: #e94560;
}

.record-card {
    background: #0f3460;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.record-card pre {
    background: #1a1a2e;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 12px;
    margin: 10px 0;
    color: #a8d8ea;
}