/* Reset mặc định */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0f172a; /* Màu nền tối (Slate-900) */
    color: #e2e8f0; /* Màu chữ sáng (Slate-200) */
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: #1e293b; /* Slate-800 */
    padding: 2.5rem;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid #334155;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    color: #38bdf8; /* Sky-400 */
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

header p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.input-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e1;
}

input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #475569;
    background-color: #0f172a;
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.settings-group {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #334155;
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: transform 0.1s, opacity 0.2s;
}

button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    background: #475569;
    cursor: not-allowed;
    transform: none;
}

/* Phần log trạng thái */
#statusLog {
    margin-top: 1.5rem;
    background-color: #020617;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #1e293b;
}

.hidden {
    display: none;
}

#statusLog h3 {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

#logContent {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    color: #4ade80; /* Green-400 */
    white-space: pre-wrap;
    line-height: 1.4;
    max-height: 200px;
    overflow-y: auto;
}

.error-text {
    color: #f87171 !important; /* Red-400 */
}