body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
}

#auth-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

nav {
    margin-bottom: 20px;
}

nav button {
    margin-right: 10px;
    margin-bottom: 10px;
}

.section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.subsection {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.subsection:last-child {
    border-bottom: none;
}

.subsection h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    flex: 1;
    min-width: 200px;
}

.result {
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
}

.result.error {
    border-left-color: #e74c3c;
    background-color: #fdf2f2;
}

.result.success {
    border-left-color: #27ae60;
    background-color: #f2fdf5;
}

#user-info {
    background-color: #34495e;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.curl-block {
    margin-top: 12px;
}

.curl-block summary {
    cursor: pointer;
    color: #7f8c8d;
    font-size: 13px;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.curl-block summary:hover {
    color: #3498db;
}

.curl-code {
    position: relative;
    margin-top: 8px;
    background: #2c3e50;
    color: #ecf0f1;
    border-radius: 6px;
    padding: 12px 40px 12px 14px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-all;
}

.curl-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
}

.curl-copy-btn:hover {
    background: #2980b9;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    form {
        flex-direction: column;
        align-items: stretch;
    }

    input {
        min-width: auto;
    }
}