/* Main Styles for Grok Unroll */

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-top: 0;
    margin-bottom: 30px;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Main Page Components */
.form-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

button {
    background-color: #0066ff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0052cc;
}

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

#response-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-height: 100px;
}

.loading {
    text-align: center;
    color: #666;
    font-style: italic;
}

.error {
    color: #e74c3c;
    font-weight: bold;
}

.response-content {
    white-space: pre-wrap;
    line-height: 1.4;
}

.scraped-content {
    font-family: monospace;
    font-size: 0.9em;
}

/* Tab Navigation */
.tab-container {
    display: flex;
    margin-bottom: 10px;
}

.tab {
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
    background-color: #f1f1f1;
    margin-right: 5px;
}

.tab.active {
    background-color: #fff;
    border-bottom: 1px solid #fff;
}

.tab-content {
    display: none;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 0 4px 4px 4px;
}

.tab-content.active {
    display: block;
}

/* Thread Info and Examples */
.thread-info {
    background-color: #f0f7ff;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border-left: 4px solid #0066ff;
}

.example {
    font-family: monospace;
    padding: 8px;
    background-color: #f1f1f1;
    border-radius: 4px;
    margin: 5px 0;
}

.note-box {
    background-color: #fffbea;
    border-left: 4px solid #ffc107;
    padding: 10px 15px;
    margin: 10px 0;
    font-size: 0.9em;
}

.guest-view-notice {
    color: #e67e22;
    font-style: italic;
}

/* Summary Page Styles */
.summary-container {
    border: 1px solid #eee; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.metadata {
    font-size: 0.9em; 
    color: #555; 
    margin-bottom: 15px;
}

.summary-content {
    margin-top: 15px;
    line-height: 1.7;
}

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

.home-link {
    font-size: 0.9em;
}

.footer {
    margin-top: 30px; 
    text-align: center; 
    font-size: 0.8em; 
    color: #777;
} 