/* Agent Skills Shared Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    margin-bottom: 40px;
}

.back-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.back-link:hover {
    background: rgba(255,255,255,0.3);
}

main {
    background: white;
    border-radius: 12px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 40px;
}

h1 {
    color: #667eea;
    font-size: 2.5em;
    margin-bottom: 10px;
    line-height: 1.2;
}

h2 {
    color: #667eea;
    font-size: 1.8em;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

h3 {
    color: #333;
    font-size: 1.3em;
    margin: 30px 0 15px;
}

h4 {
    color: #666;
    font-size: 1.1em;
    margin: 20px 0 10px;
}

p {
    margin: 15px 0;
    line-height: 1.8;
}

strong {
    color: #667eea;
    font-weight: 600;
}

em {
    font-style: italic;
    color: #555;
}

code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

pre {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

pre code {
    background: none;
    padding: 0;
}

a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

ul, ol {
    margin: 15px 0;
    padding-left: 30px;
}

li {
    margin: 8px 0;
    line-height: 1.6;
}

blockquote {
    border-left: 4px solid #667eea;
    padding-left: 20px;
    margin: 20px 0;
    color: #666;
    font-style: italic;
}

hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 40px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background: #f8f9ff;
    color: #667eea;
    font-weight: 600;
}

.success-box {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.info-box {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

footer {
    text-align: center;
    color: white;
    padding: 30px 0;
    opacity: 0.9;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer p {
    margin: 10px 0;
}

@media (max-width: 768px) {
    main {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    h3 {
        font-size: 1.2em;
    }
}