/* Additional utility classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.my-2 { margin-top: 1rem; margin-bottom: 1rem; }
.my-4 { margin-top: 2rem; margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Code block styling */
.code-block {
    background: #f1f3f4;
    padding: 1.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
    margin: 1rem 0;
}

/* API Explorer box */
.api-explorer-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.api-explorer-box h3 {
    margin-top: 0;
    color: #1a4016;
}

/* List styling utilities */
.list-spaced {
    line-height: 1.8;
}

.list-no-margin {
    margin: 0;
}

.pro-tip-margin {
    margin-top: 2rem;
}

.is-hidden {
    display: none;
}

/* Print styles */
@media print {
    header, footer, nav {
        display: none;
    }
    
    .hero {
        background: none !important;
        color: black !important;
    }
    
    .content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .tip-box, .highlight-box, .info-box, .pro-tip {
        border: 1px solid #ccc;
        background: none !important;
    }
}