/* General Body Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb; /* Lighter gray for a cleaner look */
}

/* Reusable Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.btn-primary:hover {
    background-color: #1d4ed8;
}
.btn-primary:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}
.btn-secondary:hover {
    background-color: #e5e7eb;
}

/* Tool Card for Homepage */
.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb;
}
.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}
.tool-card svg {
    width: 2rem;
    height: 2rem;
    color: #3b82f6;
    margin-bottom: 0.75rem;
}

/* Page Preview Styles (for Combine tool) */
.page-preview {
    position: relative;
    cursor: grab;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    background-color: #f9fafb;
    padding: 0.5rem;
}
.page-preview:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.page-preview.dragging {
    opacity: 0.5;
    border-color: #2563eb;
    background-color: #dbeafe;
}
.delete-page-btn {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background-color: rgba(239, 68, 68, 0.9);
    color: #fff;
    border-radius: 9999px;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid white;
}
.delete-page-btn:hover {
    background-color: rgba(220, 38, 38, 1);
    transform: scale(1.1);
}

/* Prose styles for content pages */
.prose {
    line-height: 1.6;
}
.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.prose p {
    margin-bottom: 1rem;
}