 :root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --background-light: #f8f9fa;
    --text-color: #212529;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background-color: var(--background-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.tool-container {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,.05);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.seo-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,.05);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.seo-content h2, .seo-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.seo-content p {
    margin-bottom: 1.2rem;
}

.seo-content ul {
    margin-bottom: 1.5rem;
}

.seo-content li {
    margin-bottom: 0.5rem;
}

.footer {
    background: #343a40;
    color: #fff;
    padding: 2rem 0;
    margin-top: auto;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Tool specific styles */
#photoCanvas {
    max-width: 100%;
    height: auto;
    border: 1px solid #dee2e6;
    margin-top: 1rem;
}

.typing-area {
    font-size: 1.2rem;
    font-family: monospace;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #ced4da;
    max-height: 200px;
    overflow-y: auto;
    user-select: none;
}

.typing-input {
    font-size: 1.2rem;
    font-family: monospace;
    margin-top: 1rem;
}

.highlight {
    background-color: #e9ecef;
}

.correct {
    color: #198754;
}

.incorrect {
    color: #dc3545;
    background-color: #f8d7da;
}