/* Clean, professional styling for Recipe Formatter */

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    color: #2c3e50;
}

table {
    margin: auto;
    border: none;
    border-collapse: collapse;
}

td, th {
    border: none;
}

div {
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#main-title h1 {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 2em;
    margin-bottom: 8px;
}

#main-title p {
    color: #666;
    font-size: 0.9em;
    margin-top: 0;
}

p {
    color: #4a5568;
    margin: 10px 0;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.2s ease;
    background-color: #fafbfc;
}

textarea:focus {
    outline: none;
    border-color: #4a90e2;
    background-color: white;
}

pre {
    background-color: #fafbfc;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    padding: 16px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.5;
    color: #2c3e50;
    min-height: 100px;
}

button {
    font-size: 15px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-right: 8px;
    margin-bottom: 8px;
}

button:hover {
    background-color: #357abd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(74, 144, 226, 0.2);
}

b {
    color: #1a1a1a;
    font-weight: 600;
}

.content {
    padding: 20px;
}

h1 {
    color: #1a1a1a;
    font-weight: 600;
}

/* Tips page styling */
.tips-container {
    max-width: 900px;
    margin: 0 auto;
}

.tip-section {
    margin: 30px 0;
    padding-bottom: 30px;
    border-bottom: 1px solid #e1e8ed;
}

.tip-section:last-child {
    border-bottom: none;
}

.tip-section h2 {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 12px;
    font-weight: 600;
}

.tip-section h3 {
    color: #4a5568;
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.example-box {
    background-color: #f8f9fb;
    border-left: 4px solid #4a90e2;
    padding: 16px;
    margin: 16px 0;
    border-radius: 4px;
}

.example-box pre {
    margin: 8px 0;
    min-height: auto;
    background-color: white;
}

.example-box p {
    margin: 8px 0;
    font-size: 0.95em;
}

.feature-lists {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.feature-column {
    flex: 1;
    background-color: #f8f9fb;
    padding: 20px;
    border-radius: 6px;
}

.feature-column h3 {
    margin-top: 0;
    font-size: 1em;
}

.feature-column ul {
    margin: 10px 0;
    padding-left: 20px;
}

.feature-column li {
    margin: 8px 0;
    color: #4a5568;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    textarea {
        font-size: 13px;
    }

    button {
        width: 100%;
        margin-right: 0;
    }

    .feature-lists {
        flex-direction: column;
        gap: 15px;
    }
}
