* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #0f1115;
    color: #e8e8e8;
    margin: 0;
    padding: 20px;
}

.container { max-width: 700px; margin: 0 auto; }

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

h1 { font-size: 22px; margin: 0; }
h2 { font-size: 16px; color: #a8b0bc; margin: 0 0 12px 0; }

.logout {
    color: #8a94a6;
    text-decoration: none;
    font-size: 14px;
}

.panel {
    background: #1a1d24;
    border: 1px solid #2a2e38;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
}

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

.controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

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

.btn-record { background: #dc2626; }
.btn-stop { background: #4b5563; }

#timer {
    font-family: monospace;
    font-size: 16px;
    color: #a8b0bc;
}

.status { margin-top: 10px; font-size: 14px; color: #a8b0bc; }

textarea {
    width: 100%;
    background: #12141a;
    color: #e8e8e8;
    border: 1px solid #2a2e38;
    border-radius: 8px;
    padding: 10px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 10px;
    resize: vertical;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    background: #12141a;
    border-radius: 8px;
    padding: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.login-box {
    max-width: 320px;
    margin: 80px auto;
    background: #1a1d24;
    border: 1px solid #2a2e38;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #2a2e38;
    background: #12141a;
    color: #e8e8e8;
}

.login-box button { width: 100%; }

.error { color: #ef4444; font-size: 14px; }
